Spaces:
Build error
Build error
Commit
·
3a42afa
1
Parent(s):
af2c0dc
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
120 |
demo = gradio.Interface(fn=predict, # mapping function from input to output
|
121 |
inputs=gradio.Image(type= "numpy"), # what are the inputs?
|
122 |
outputs=[gradio.outputs.Image(type= "filepath", label="Image with Bounding Boxes"),
|
123 |
-
gradio.outputs.Label(type="auto", label="Prediction Time"
|
124 |
# Create examples list from "examples/" directory
|
125 |
examples=example_list,
|
126 |
title=title,
|
|
|
120 |
demo = gradio.Interface(fn=predict, # mapping function from input to output
|
121 |
inputs=gradio.Image(type= "numpy"), # what are the inputs?
|
122 |
outputs=[gradio.outputs.Image(type= "filepath", label="Image with Bounding Boxes"),
|
123 |
+
gradio.outputs.Label(type="auto", label="Prediction Time")], # our fn has two outputs
|
124 |
# Create examples list from "examples/" directory
|
125 |
examples=example_list,
|
126 |
title=title,
|