Spaces:
Runtime error
Runtime error
Commit
·
f06ec75
1
Parent(s):
69aef18
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ demo = gr.Interface(
|
|
64 |
fn=predict,
|
65 |
inputs=gr.Image(type="pil"),
|
66 |
outputs=[
|
67 |
-
gr.Label(num_top_classes=5, label="Predictions"
|
68 |
gr.Number(label="Prediction time (s)"),
|
69 |
],
|
70 |
examples=example_list,
|
|
|
64 |
fn=predict,
|
65 |
inputs=gr.Image(type="pil"),
|
66 |
outputs=[
|
67 |
+
gr.Label(num_top_classes=5, label="Predictions",type="key_value", num_format="{:.5f}"),
|
68 |
gr.Number(label="Prediction time (s)"),
|
69 |
],
|
70 |
examples=example_list,
|