Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def save_message(role, content):
|
|
115 |
|
116 |
def display_chat_history():
|
117 |
messages = db.collection("users").document(user_id).collection("messages").order_by("timestamp").stream()
|
118 |
-
assistant_icon_html = "<img src='https://
|
119 |
for msg in list(messages)[::-1]:
|
120 |
data = msg.to_dict()
|
121 |
if data["role"] == "user":
|
|
|
115 |
|
116 |
def display_chat_history():
|
117 |
messages = db.collection("users").document(user_id).collection("messages").order_by("timestamp").stream()
|
118 |
+
assistant_icon_html = "<img src='https://raw.githubusercontent.com/AndrewLORTech/lortechwebsite/main/lorain.jpg' width='24' style='vertical-align:middle; border-radius:50%;'/>"
|
119 |
for msg in list(messages)[::-1]:
|
120 |
data = msg.to_dict()
|
121 |
if data["role"] == "user":
|