Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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}",
|