Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,5 +38,5 @@ def predict_segmentation(image: Image.Image):
|
|
| 38 |
image_input = gr.components.Image(shape=(256, 256), source="upload")
|
| 39 |
image_output = gr.components.Image(type="pil")
|
| 40 |
|
| 41 |
-
iface = gr.Interface(predict_segmentation,
|
| 42 |
iface.launch()
|
|
|
|
| 38 |
image_input = gr.components.Image(shape=(256, 256), source="upload")
|
| 39 |
image_output = gr.components.Image(type="pil")
|
| 40 |
|
| 41 |
+
iface = gr.Interface(predict_segmentation, 'image', 'image')
|
| 42 |
iface.launch()
|