RomZay commited on
Commit
e0fe578
·
verified ·
1 Parent(s): 9a3513f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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"<b>{user_profile}:</b><br /> {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"<b>{assistant_profile}:</b><br /> {assistant_message}</div><br>"
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