Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def save_message(role, content):
|
|
94 |
|
95 |
def display_chat_history():
|
96 |
messages = db.collection("users").document(user_id).collection("messages").order_by("timestamp").stream()
|
97 |
-
assistant_icon_html = "<img src='/
|
98 |
for msg in list(messages)[::-1]:
|
99 |
data = msg.to_dict()
|
100 |
if data["role"] == "user":
|
|
|
94 |
|
95 |
def display_chat_history():
|
96 |
messages = db.collection("users").document(user_id).collection("messages").order_by("timestamp").stream()
|
97 |
+
assistant_icon_html = "<img src='https://lortechnologies.com/wp-content/uploads/2023/03/LOR-Online-Logo.svg' width='20' style='vertical-align:middle;'/>"
|
98 |
for msg in list(messages)[::-1]:
|
99 |
data = msg.to_dict()
|
100 |
if data["role"] == "user":
|