Spaces:
Build error
Build error
Commit ·
6d64334
1
Parent(s): e9627d6
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ demo = gr.Interface(fn=predict, # mapping function from input to output
|
|
| 76 |
inputs=gr.Image(type="pil"), # what are the inputs?
|
| 77 |
outputs=[gr.Label(num_top_classes=2, label="Predictions"), # what are the outputs?
|
| 78 |
gr.Number(label="Prediction time (s)"),
|
| 79 |
-
(gr.Image(shape=(300,400))
|
| 80 |
# Create examples list from "examples/" directory
|
| 81 |
examples=example_list,
|
| 82 |
title=title,
|
|
|
|
| 76 |
inputs=gr.Image(type="pil"), # what are the inputs?
|
| 77 |
outputs=[gr.Label(num_top_classes=2, label="Predictions"), # what are the outputs?
|
| 78 |
gr.Number(label="Prediction time (s)"),
|
| 79 |
+
(gr.Image(shape=(300,400)))], # our fn has two outputs, therefore we have two outputs
|
| 80 |
# Create examples list from "examples/" directory
|
| 81 |
examples=example_list,
|
| 82 |
title=title,
|