AdilEsset commited on
Commit
8743cdb
1 Parent(s): 3355e69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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.Text()],
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()