Rick-29 commited on
Commit
871b6a0
·
verified ·
1 Parent(s): c08a343

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=3, label="Predictions"),
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,