Update app.py
Browse files
app.py
CHANGED
|
@@ -296,7 +296,12 @@ with gr.Blocks(theme='shivi/calm_seafoam', title="📄 Insurance Policy AIdvisor
|
|
| 296 |
with gr.Tab("💬 Chatbot"):
|
| 297 |
gr.Markdown("### Ask about the policy and get advice.")
|
| 298 |
chat = gr.ChatInterface(fn=ask_question,
|
| 299 |
-
chatbot=gr.Chatbot(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 300 |
)
|
| 301 |
|
| 302 |
gr.Examples(
|
|
|
|
| 296 |
with gr.Tab("💬 Chatbot"):
|
| 297 |
gr.Markdown("### Ask about the policy and get advice.")
|
| 298 |
chat = gr.ChatInterface(fn=ask_question,
|
| 299 |
+
chatbot=gr.Chatbot(
|
| 300 |
+
avatar_images=(
|
| 301 |
+
"https://em-content.zobj.net/source/twitter/141/woman-technologist_1f469-1f4bb.png", # User
|
| 302 |
+
"https://em-content.zobj.net/source/twitter/141/robot-face_1f916.png" # Bot
|
| 303 |
+
)
|
| 304 |
+
),
|
| 305 |
)
|
| 306 |
|
| 307 |
gr.Examples(
|