Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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",
|
| 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 |
)
|