Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ example_images = [
|
|
| 25 |
|
| 26 |
iface = gr.Interface(
|
| 27 |
fn=classify_pet,
|
| 28 |
-
inputs=gr.Image(type="filepath"
|
| 29 |
outputs=gr.JSON(),
|
| 30 |
title="Fruit and Vegetable Classification Comparison",
|
| 31 |
description="Upload an image of a fruit or vegetable, and compare results from a trained ViT model and a zero-shot CLIP model.",
|
|
|
|
| 25 |
|
| 26 |
iface = gr.Interface(
|
| 27 |
fn=classify_pet,
|
| 28 |
+
inputs=gr.Image(type="filepath"),
|
| 29 |
outputs=gr.JSON(),
|
| 30 |
title="Fruit and Vegetable Classification Comparison",
|
| 31 |
description="Upload an image of a fruit or vegetable, and compare results from a trained ViT model and a zero-shot CLIP model.",
|