HienK64BKHN commited on
Commit
905f281
1 Parent(s): 7e014cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
43
 
44
  demo = gr.Interface(fn=predict, # mapping function from input to output
45
  inputs=gr.Image(type="pil"), # what are the inputs?
46
- outputs=[gr.Pil(label="Segmentation"), # what are the outputs?
47
  gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
48
  # Create examples list from "examples/" directory
49
  examples=example_list,
 
43
 
44
  demo = gr.Interface(fn=predict, # mapping function from input to output
45
  inputs=gr.Image(type="pil"), # what are the inputs?
46
+ outputs=[gr.Image(label="Segmentation"), # what are the outputs?
47
  gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
48
  # Create examples list from "examples/" directory
49
  examples=example_list,