Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def predict(image):
|
|
| 73 |
# Set up the Gradio interface
|
| 74 |
iface = gr.Interface(
|
| 75 |
fn=predict,
|
| 76 |
-
inputs=gr.
|
| 77 |
outputs="text",
|
| 78 |
title="Food Classification Model",
|
| 79 |
description="Upload an image of food to classify it."
|
|
|
|
| 73 |
# Set up the Gradio interface
|
| 74 |
iface = gr.Interface(
|
| 75 |
fn=predict,
|
| 76 |
+
inputs=gr.Image(type="pil"),
|
| 77 |
outputs="text",
|
| 78 |
title="Food Classification Model",
|
| 79 |
description="Upload an image of food to classify it."
|