Ritesh-hf commited on
Commit
f36e45e
·
verified ·
1 Parent(s): 675181b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -200,7 +200,7 @@ def respond_to_user(image, message):
200
  iface = gr.Interface(
201
  fn=respond_to_user,
202
  inputs=[gr.Image(), gr.Textbox(label="Ask Query")],
203
- outputs=[gr.Textbox(label="Nutrition-GPT"), gr.Textbox(label="context")],
204
  title="Nutrition-GPT Demo",
205
  description="Upload an food image and ask queries!",
206
  css=".component-12 {background-color: red}",
 
200
  iface = gr.Interface(
201
  fn=respond_to_user,
202
  inputs=[gr.Image(), gr.Textbox(label="Ask Query")],
203
+ outputs=[gr.Textbox(label="Nutrition-GPT"), gr.JSON(label="context")],
204
  title="Nutrition-GPT Demo",
205
  description="Upload an food image and ask queries!",
206
  css=".component-12 {background-color: red}",