Aumkeshchy2003 commited on
Commit
7028c06
·
verified ·
1 Parent(s): cafcdec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=1),
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",