Spaces:
Runtime error
Runtime error
shyamgupta196
commited on
Commit
·
57debf0
1
Parent(s):
d0d42a2
added numpy outptu
Browse files
app.py
CHANGED
@@ -38,5 +38,5 @@ def seg(image):
|
|
38 |
|
39 |
return img
|
40 |
|
41 |
-
iface = gr.Interface(fn=seg, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Image())
|
42 |
iface.launch()
|
|
|
38 |
|
39 |
return img
|
40 |
|
41 |
+
iface = gr.Interface(fn=seg, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Image('numpy'))
|
42 |
iface.launch()
|