Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def save_message(role, content):
|
|
69 |
# 💬 Display chat history
|
70 |
def display_chat_history():
|
71 |
messages = db.collection("users").document(user_id).collection("messages").order_by("timestamp").stream()
|
72 |
-
assistant_icon_html = "<img src='lorain.jpg' width='20' style='vertical-align:middle;'/>"
|
73 |
for msg in list(messages)[::-1]:
|
74 |
data = msg.to_dict()
|
75 |
if data["role"] == "user":
|
|
|
69 |
# 💬 Display chat history
|
70 |
def display_chat_history():
|
71 |
messages = db.collection("users").document(user_id).collection("messages").order_by("timestamp").stream()
|
72 |
+
assistant_icon_html = "<img src='https://huggingface.co/spaces/IAMTFRMZA/lortechassistant/blob/main/lorain.jpg' width='20' style='vertical-align:middle;'/>"
|
73 |
for msg in list(messages)[::-1]:
|
74 |
data = msg.to_dict()
|
75 |
if data["role"] == "user":
|