Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,6 @@ def respond(message, history):
|
|
| 19 |
|
| 20 |
return response["choices"][0]["message"]["content"].strip()
|
| 21 |
|
| 22 |
-
about_text = """## Use this chatbot to plan healthy meals and try new recipes! 🐑"""
|
| 23 |
-
|
| 24 |
title = """# 🐑 NutriAssist 🌱"""
|
| 25 |
|
| 26 |
with gr.Blocks() as chatbot:
|
|
@@ -38,9 +36,10 @@ with gr.Blocks() as chatbot:
|
|
| 38 |
show_label=False,
|
| 39 |
show_share_button = False,
|
| 40 |
show_download_button = False)
|
| 41 |
-
gr.
|
| 42 |
|
| 43 |
with gr.Column(scale=2):
|
| 44 |
gr.ChatInterface(respond, type="messages")
|
|
|
|
| 45 |
|
| 46 |
chatbot.launch()
|
|
|
|
| 19 |
|
| 20 |
return response["choices"][0]["message"]["content"].strip()
|
| 21 |
|
|
|
|
|
|
|
| 22 |
title = """# 🐑 NutriAssist 🌱"""
|
| 23 |
|
| 24 |
with gr.Blocks() as chatbot:
|
|
|
|
| 36 |
show_label=False,
|
| 37 |
show_share_button = False,
|
| 38 |
show_download_button = False)
|
| 39 |
+
gr.Image()
|
| 40 |
|
| 41 |
with gr.Column(scale=2):
|
| 42 |
gr.ChatInterface(respond, type="messages")
|
| 43 |
+
|
| 44 |
|
| 45 |
chatbot.launch()
|