Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,11 +76,12 @@ model.eval()
|
|
76 |
demo = gr.Interface(
|
77 |
gradio_process,
|
78 |
inputs=gr.inputs.Image(type="pil"),
|
79 |
-
outputs=[gr.outputs.Image(type="pil"), gr.outputs.
|
80 |
title="Semantic Segmentation",
|
81 |
examples=glob.glob('./examples/*.jpg'),
|
82 |
allow_flagging="never",
|
83 |
)
|
84 |
|
85 |
|
|
|
86 |
demo.launch()
|
|
|
76 |
demo = gr.Interface(
|
77 |
gradio_process,
|
78 |
inputs=gr.inputs.Image(type="pil"),
|
79 |
+
outputs=[gr.outputs.Image(type="pil"), gr.outputs.Label()],
|
80 |
title="Semantic Segmentation",
|
81 |
examples=glob.glob('./examples/*.jpg'),
|
82 |
allow_flagging="never",
|
83 |
)
|
84 |
|
85 |
|
86 |
+
|
87 |
demo.launch()
|