Vinh Nguyen commited on
Commit
3cd35af
·
unverified ·
1 Parent(s): c65178d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -101,10 +101,10 @@ with chat_tab:
101
  )
102
 
103
  avatars = {
104
- str(ChatProfileRoleEnum.HUMAN): "user",
105
- str(ChatProfileRoleEnum.AI): "assistant",
106
  }
107
-
108
  for msg in msgs.messages:
109
  st.chat_message(avatars[msg.type]).write(msg.content)
110
 
 
101
  )
102
 
103
  avatars = {
104
+ ChatProfileRoleEnum.HUMAN: "user",
105
+ ChatProfileRoleEnum.AI: "assistant",
106
  }
107
+
108
  for msg in msgs.messages:
109
  st.chat_message(avatars[msg.type]).write(msg.content)
110