Spaces:
Sleeping
Sleeping
Commit
·
1c316e2
1
Parent(s):
3eb2a93
Update app.py
Browse files
app.py
CHANGED
@@ -415,4 +415,4 @@ def segment(image):
|
|
415 |
plt.savefig('out.png')
|
416 |
return 'out.png'
|
417 |
|
418 |
-
gr.Interface(fn=segment, inputs="
|
|
|
415 |
plt.savefig('out.png')
|
416 |
return 'out.png'
|
417 |
|
418 |
+
gr.Interface(fn=segment, inputs = gr.Image(type="str"),outputs = "file").launch()
|