Spaces:
Runtime error
Runtime error
Pawntoqueen
commited on
Commit
•
a4ad34b
1
Parent(s):
ec45067
app.py
CHANGED
@@ -3,7 +3,6 @@ import gradio as gr
|
|
3 |
examples = ["liver.png"]
|
4 |
|
5 |
def segment(image):
|
6 |
-
if image == examples[0]:
|
7 |
return "liverseg.png"
|
8 |
|
9 |
gr.Interface(fn=segment, inputs="image", outputs="image", examples = examples ).launch()
|
|
|
3 |
examples = ["liver.png"]
|
4 |
|
5 |
def segment(image):
|
|
|
6 |
return "liverseg.png"
|
7 |
|
8 |
gr.Interface(fn=segment, inputs="image", outputs="image", examples = examples ).launch()
|