IAMTFRMZA commited on
Commit
a63ec01
·
verified ·
1 Parent(s): d454ae4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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":