Update app.py
Browse files
app.py
CHANGED
|
@@ -335,7 +335,17 @@ with gr.Blocks(theme='shivi/calm_seafoam', title="📄 Insurance Policy AIdvisor
|
|
| 335 |
)
|
| 336 |
|
| 337 |
with gr.Tab("💬 Chatbot"):
|
| 338 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 339 |
with gr.Column():
|
| 340 |
gr.Examples(
|
| 341 |
examples=[
|
|
@@ -362,16 +372,6 @@ with gr.Blocks(theme='shivi/calm_seafoam', title="📄 Insurance Policy AIdvisor
|
|
| 362 |
],
|
| 363 |
inputs=chat.textbox
|
| 364 |
)
|
| 365 |
-
with gr.column():
|
| 366 |
-
chat = gr.ChatInterface(fn=ask_question,
|
| 367 |
-
title = "🤖 AIdvisor",
|
| 368 |
-
chatbot=gr.Chatbot(
|
| 369 |
-
avatar_images=(
|
| 370 |
-
"https://em-content.zobj.net/source/twitter/141/parrot_1f99c.png", # User
|
| 371 |
-
"https://em-content.zobj.net/source/twitter/141/robot-face_1f916.png" # Bot
|
| 372 |
-
)
|
| 373 |
-
)
|
| 374 |
-
)
|
| 375 |
|
| 376 |
with gr.Tab("System Design"):
|
| 377 |
gr.Image(value="AIdvisor_devcon.png")
|
|
|
|
| 335 |
)
|
| 336 |
|
| 337 |
with gr.Tab("💬 Chatbot"):
|
| 338 |
+
with gr.column():
|
| 339 |
+
chat = gr.ChatInterface(fn=ask_question,
|
| 340 |
+
title = "🤖 AIdvisor",
|
| 341 |
+
chatbot=gr.Chatbot(
|
| 342 |
+
avatar_images=(
|
| 343 |
+
"https://em-content.zobj.net/source/twitter/141/parrot_1f99c.png", # User
|
| 344 |
+
"https://em-content.zobj.net/source/twitter/141/robot-face_1f916.png" # Bot
|
| 345 |
+
)
|
| 346 |
+
)
|
| 347 |
+
)
|
| 348 |
+
with gr.Row():
|
| 349 |
with gr.Column():
|
| 350 |
gr.Examples(
|
| 351 |
examples=[
|
|
|
|
| 372 |
],
|
| 373 |
inputs=chat.textbox
|
| 374 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 375 |
|
| 376 |
with gr.Tab("System Design"):
|
| 377 |
gr.Image(value="AIdvisor_devcon.png")
|