chiraant commited on
Commit
fd5f5e2
1 Parent(s): be8b0b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def predict_pokemon_type(uploaded_file):
30
  iface = gr.Interface(
31
  fn=predict_pokemon_type,
32
  inputs=gr.File(label="Upload File"),
33
- outputs=["image", "text"],
34
  title="Fruit Classifier",
35
  description="Upload a picture of an apple, banana or a tomato."
36
  )
 
30
  iface = gr.Interface(
31
  fn=predict_pokemon_type,
32
  inputs=gr.File(label="Upload File"),
33
+ outputs=["image", gr.Label(num_top_classes=6)],
34
  title="Fruit Classifier",
35
  description="Upload a picture of an apple, banana or a tomato."
36
  )