Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def analyze_meal(image, description):
|
|
| 39 |
|
| 40 |
# Gradio app layout
|
| 41 |
inputs = [
|
| 42 |
-
gr.Image(label="Upload your meal (Take a bite out of that picture!)", type="pil", optional
|
| 43 |
gr.Textbox(label="Describe your meal if image recognition fails", lines=2, placeholder="e.g., a plate of upma with coconut chutney"),
|
| 44 |
]
|
| 45 |
|
|
|
|
| 39 |
|
| 40 |
# Gradio app layout
|
| 41 |
inputs = [
|
| 42 |
+
gr.Image(label="Upload your meal (Take a bite out of that picture!)", type="pil"), # Removed 'optional' argument
|
| 43 |
gr.Textbox(label="Describe your meal if image recognition fails", lines=2, placeholder="e.g., a plate of upma with coconut chutney"),
|
| 44 |
]
|
| 45 |
|