remotewith commited on
Commit
7101c7a
·
1 Parent(s): f894347

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -221,9 +221,7 @@ app1 = gr.Interface(fn=predict, # mapping function from input to output
221
  inputs=gr.Image(type="pil"), # what are the inputs?
222
  outputs=[gr.Label(num_top_classes=2, label="Predictions"), # what are the outputs?
223
  gr.Number(label="Prediction time (s)")
224
- ], # our fn has two outputs, therefore we have two outputs
225
- # Create examples list from "examples/" directory
226
- examples=example_list,
227
  title=title,
228
  description=description,
229
  article=article)
 
221
  inputs=gr.Image(type="pil"), # what are the inputs?
222
  outputs=[gr.Label(num_top_classes=2, label="Predictions"), # what are the outputs?
223
  gr.Number(label="Prediction time (s)")
224
+ ],
 
 
225
  title=title,
226
  description=description,
227
  article=article)