Spaces:
Sleeping
Sleeping
heisenberg3376
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def classify_image(input_image):
|
|
20 |
# Create a Gradio interface
|
21 |
iface = gr.Interface(
|
22 |
fn=classify_image,
|
23 |
-
input=gr.
|
24 |
output="text",
|
25 |
title="Image Classification",
|
26 |
description="Classify food items in images using heisenberg3376/vit-base-food-items-v1"
|
|
|
20 |
# Create a Gradio interface
|
21 |
iface = gr.Interface(
|
22 |
fn=classify_image,
|
23 |
+
input=gr.Image(type="pil", label="Upload an image"),
|
24 |
output="text",
|
25 |
title="Image Classification",
|
26 |
description="Classify food items in images using heisenberg3376/vit-base-food-items-v1"
|