Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -220,7 +220,7 @@ def predict(img: Image.Image):
|
|
| 220 |
iface = gr.Interface(
|
| 221 |
fn=predict,
|
| 222 |
inputs=gr.Image(type="pil"),
|
| 223 |
-
outputs=gr.Label(num_top_classes=
|
| 224 |
title="Hybrid ViT+CNN CIFAR-100 Classifier",
|
| 225 |
description="Upload a 32x32 image, and the model predicts the CIFAR-100 class.",
|
| 226 |
examples=["Feng-shui-fish-acquarium_0_1200.jpg.webp",
|
|
|
|
| 220 |
iface = gr.Interface(
|
| 221 |
fn=predict,
|
| 222 |
inputs=gr.Image(type="pil"),
|
| 223 |
+
outputs=gr.Label(num_top_classes=5, label="Top-5 Predictions"),
|
| 224 |
title="Hybrid ViT+CNN CIFAR-100 Classifier",
|
| 225 |
description="Upload a 32x32 image, and the model predicts the CIFAR-100 class.",
|
| 226 |
examples=["Feng-shui-fish-acquarium_0_1200.jpg.webp",
|