Samuel-DD07 commited on
Commit
cbc0346
1 Parent(s): c7f57c0

Changement de l'ordre des images d'avatar dans le chatbot

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +1 -1
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -294,7 +294,7 @@ with gr.Blocks(theme=theme, css=css) as demo: # Suppression de 'css=css' si 'cs
294
  </div>
295
  """)
296
  with gr.Column(elem_id="chat-interface"):
297
- chat = gr.Chatbot(elem_id="chat-messages", show_label=False, avatar_images=[user_profile_image, bot_profile_image])
298
  with gr.Row(elem_id="suggestions"):
299
  sugg1 = gr.Button(suggestion[0], elem_classes="suggestion-btn").click(
300
  suggestion1, inputs=[chat], outputs=chat
 
294
  </div>
295
  """)
296
  with gr.Column(elem_id="chat-interface"):
297
+ chat = gr.Chatbot(elem_id="chat-messages", show_label=False, avatar_images=[bot_profile_image, user_profile_image])
298
  with gr.Row(elem_id="suggestions"):
299
  sugg1 = gr.Button(suggestion[0], elem_classes="suggestion-btn").click(
300
  suggestion1, inputs=[chat], outputs=chat