dindizz commited on
Commit
2c7c107
·
verified ·
1 Parent(s): b0083be

Update app.py

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