Skier8402 commited on
Commit
33c6c05
Β·
1 Parent(s): 473d64d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -128,15 +128,9 @@ def handle_userinput(user_question):
128
 
129
  for i, message in enumerate(st.session_state.chat_history):
130
  if i % 2 == 0:
131
- st.write(
132
- user_template.replace("{{MSG}}", message.content),
133
- unsafe_allow_html=True,
134
- )
135
  else:
136
- st.write(
137
- bot_template.replace("{{MSG}}", message.content), unsafe_allow_html=True
138
- )
139
-
140
 
141
  def main():
142
  """Put it all together"""
 
128
 
129
  for i, message in enumerate(st.session_state.chat_history):
130
  if i % 2 == 0:
131
+ st.write("😊 User: " + message.content)
 
 
 
132
  else:
133
+ st.write("πŸ€– ChatBot: " + message.content)
 
 
 
134
 
135
  def main():
136
  """Put it all together"""