Spaces:
Running
Running
samuelemarro
commited on
Commit
·
047b4f4
1
Parent(s):
b6de115
Fixed swapped avatars.
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def main():
|
|
116 |
gr.Markdown("When Agora operates without a protocol, it uses the LLM to send/receive messages.")
|
117 |
gr.Markdown("This is particularly useful for rare communications, where establishing a protocol would be superfluous.")
|
118 |
|
119 |
-
avatar_images = [images.get(
|
120 |
chatbot_nl = gr.Chatbot(type="messages", avatar_images=avatar_images)
|
121 |
|
122 |
with gr.Accordion(label="Raw Messages", open=False):
|
|
|
116 |
gr.Markdown("When Agora operates without a protocol, it uses the LLM to send/receive messages.")
|
117 |
gr.Markdown("This is particularly useful for rare communications, where establishing a protocol would be superfluous.")
|
118 |
|
119 |
+
avatar_images = [images.get(bob_model, fallback_image), images.get(alice_model, fallback_image)]
|
120 |
chatbot_nl = gr.Chatbot(type="messages", avatar_images=avatar_images)
|
121 |
|
122 |
with gr.Accordion(label="Raw Messages", open=False):
|