Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -318,7 +318,7 @@ with gr.Blocks(theme=theme, css=css) as demo: # Suppression de 'css=css' si 'cs
|
|
| 318 |
</div>
|
| 319 |
""")
|
| 320 |
with gr.Column(elem_id="chat-interface"):
|
| 321 |
-
chat = gr.Chatbot(elem_id="chat-messages", show_label=False, avatar_images=[
|
| 322 |
with gr.Row(elem_id="input-area"):
|
| 323 |
text_input = gr.Textbox(placeholder="Ask anything about medicine / scientific research !", show_label=False)
|
| 324 |
text_input.submit(respond, inputs=[text_input, chat], outputs=[text_input,chat])
|
|
|
|
| 318 |
</div>
|
| 319 |
""")
|
| 320 |
with gr.Column(elem_id="chat-interface"):
|
| 321 |
+
chat = gr.Chatbot(elem_id="chat-messages", show_label=False, avatar_images=[user_profile_image, bot_profile_image])
|
| 322 |
with gr.Row(elem_id="input-area"):
|
| 323 |
text_input = gr.Textbox(placeholder="Ask anything about medicine / scientific research !", show_label=False)
|
| 324 |
text_input.submit(respond, inputs=[text_input, chat], outputs=[text_input,chat])
|