viboognesh commited on
Commit
5a45131
1 Parent(s): a55873f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -82,11 +82,14 @@ def handle_userinput(user_question):
82
  response = st.session_state.conversation({'question': user_question})
83
  st.session_state.chat_history = response['chat_history']
84
 
 
85
  for i, message in enumerate(st.session_state.chat_history):
86
  if i % 2 == 0:
87
- st.markdown(("User: "+message.content))
 
88
  else:
89
- st.markdown(("AI: "+message.content))
 
90
 
91
 
92
  def main():
 
82
  response = st.session_state.conversation({'question': user_question})
83
  st.session_state.chat_history = response['chat_history']
84
 
85
+
86
  for i, message in enumerate(st.session_state.chat_history):
87
  if i % 2 == 0:
88
+ st.markdown("**User:**")
89
+ st.markdown(message.content)
90
  else:
91
+ st.markdown("**AI:**")
92
+ st.markdown(message.content)
93
 
94
 
95
  def main():