Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
54 |
# Create the gradio demo
|
55 |
demo = gr.Interface(fn=predict,
|
56 |
inputs=gr.Image(type="pil"),
|
57 |
-
outputs=[gr.Label(num_top_classes=
|
58 |
gr.Number(label="Prediction time (s)")],
|
59 |
examples=example_list,
|
60 |
title=title,
|
|
|
54 |
# Create the gradio demo
|
55 |
demo = gr.Interface(fn=predict,
|
56 |
inputs=gr.Image(type="pil"),
|
57 |
+
outputs=[gr.Label(num_top_classes=5, label="Predictions"),
|
58 |
gr.Number(label="Prediction time (s)")],
|
59 |
examples=example_list,
|
60 |
title=title,
|