fengruilin commited on
Commit
f4511f0
·
verified ·
1 Parent(s): ba2d244

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -329,7 +329,7 @@ def predict(img: Image.Image):
329
  demo = gr.Interface(
330
  fn=predict,
331
  inputs=gr.Image(type="pil"),
332
- outputs=gr.Label(num_top_classes=5),
333
  title="🚗Car Model Classifier🚗",
334
  description="⬆Upload a car image and see what it is and how confident our model is on this particular picture!"
335
  )
 
329
  demo = gr.Interface(
330
  fn=predict,
331
  inputs=gr.Image(type="pil"),
332
+ outputs=gr.Label(num_top_classes=1),
333
  title="🚗Car Model Classifier🚗",
334
  description="⬆Upload a car image and see what it is and how confident our model is on this particular picture!"
335
  )