aayanb09 commited on
Commit
a4c3c03
·
verified ·
1 Parent(s): 191f7ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ iface = gr.Interface(
105
  gr.Image(type="pil", label="Upload Food Image"),
106
  gr.Slider(0.1, 0.9, value=0.5, step=0.05, label="Confidence Threshold")
107
  ],
108
- outputs=gr.Label(label="Detected Ingredients"),
109
  title="Food Ingredient Detection (Multi-Label)",
110
  description=(
111
  "Upload a food image to detect **multiple ingredients at once**. "
 
105
  gr.Image(type="pil", label="Upload Food Image"),
106
  gr.Slider(0.1, 0.9, value=0.5, step=0.05, label="Confidence Threshold")
107
  ],
108
+ outputs=gr.JSON(label="Detected Ingredients"),
109
  title="Food Ingredient Detection (Multi-Label)",
110
  description=(
111
  "Upload a food image to detect **multiple ingredients at once**. "