Jfink09 commited on
Commit
5beb3d6
·
1 Parent(s): c80cad2

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
74
  # Create the Gradio demo
75
  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=4, label="Predictions"), # what are the outputs?
78
  gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
79
  # Create examples list from "examples/" directory
80
  #title=title,
 
74
  # Create the Gradio demo
75
  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=3, label="Predictions"), # what are the outputs?
78
  gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
79
  # Create examples list from "examples/" directory
80
  #title=title,