Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,13 +60,13 @@ def render_message(history):
|
|
60 |
messages_html += f"<div style='display: flex; align-items: center; margin-bottom: 10px;'>"
|
61 |
if user_pic:
|
62 |
messages_html += f"<img src='{user_pic}' style='width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;'>"
|
63 |
-
messages_html += f"
|
64 |
|
65 |
if assistant_message:
|
66 |
messages_html += f"<div style='display: flex; align-items: center; margin-bottom: 10px;'>"
|
67 |
if assistant_pic:
|
68 |
messages_html += f"<img src='{assistant_pic}' style='width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;'>"
|
69 |
-
messages_html += f"
|
70 |
|
71 |
return messages_html
|
72 |
|
|
|
60 |
messages_html += f"<div style='display: flex; align-items: center; margin-bottom: 10px;'>"
|
61 |
if user_pic:
|
62 |
messages_html += f"<img src='{user_pic}' style='width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;'>"
|
63 |
+
messages_html += f"{user_message}</div><br>"
|
64 |
|
65 |
if assistant_message:
|
66 |
messages_html += f"<div style='display: flex; align-items: center; margin-bottom: 10px;'>"
|
67 |
if assistant_pic:
|
68 |
messages_html += f"<img src='{assistant_pic}' style='width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;'>"
|
69 |
+
messages_html += f"{assistant_message}</div><br>"
|
70 |
|
71 |
return messages_html
|
72 |
|