Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -171,6 +171,36 @@ with gr.Blocks() as demo:
|
|
| 171 |
inputs=[msg, checkboxes, history_state],
|
| 172 |
outputs=[chatbot]
|
| 173 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
demo.launch()
|
| 175 |
#chatbot = gr.ChatInterface(respond, type="messages")
|
| 176 |
#chatbot.launch()
|
|
|
|
| 171 |
inputs=[msg, checkboxes, history_state],
|
| 172 |
outputs=[chatbot]
|
| 173 |
)
|
| 174 |
+
|
| 175 |
+
title = """# 🐑 NutriAssist 🌱"""
|
| 176 |
+
|
| 177 |
+
with gr.Blocks() as chatbot:
|
| 178 |
+
with gr.Row(scale=1):
|
| 179 |
+
gr.Image(
|
| 180 |
+
value="NutriAssistBanner.png",
|
| 181 |
+
show_label=False,
|
| 182 |
+
show_share_button = False,
|
| 183 |
+
show_download_button = False)
|
| 184 |
+
with gr.Row(scale=2):
|
| 185 |
+
with gr.Column(scale=1):
|
| 186 |
+
gr.Markdown(title)
|
| 187 |
+
gr.Image(
|
| 188 |
+
"NutriAssistInstructions.png",
|
| 189 |
+
show_label = False,
|
| 190 |
+
show_share_button = False,
|
| 191 |
+
show_download_button = False)
|
| 192 |
+
gr.Image(
|
| 193 |
+
"NutriAssistTeam.png",
|
| 194 |
+
show_label = False,
|
| 195 |
+
show_share_button = False,
|
| 196 |
+
show_download_button = False)
|
| 197 |
+
|
| 198 |
+
with gr.Column(scale=2):
|
| 199 |
+
gr.ChatInterface(respond, type="messages")
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
chatbot.launch()
|
| 203 |
+
|
| 204 |
demo.launch()
|
| 205 |
#chatbot = gr.ChatInterface(respond, type="messages")
|
| 206 |
#chatbot.launch()
|