valeriylo commited on
Commit
db28c89
·
1 Parent(s): ba83614

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def handle_userinput(user_question):
83
 
84
  print(response['source_documents'][0])
85
 
86
- for i, (message, text) in enumerate(zip(st.session_state.chat_history, st.session_state.retrieved_text)):
87
  if i % 2 == 0:
88
  st.write(user_template.replace(
89
  "{{MSG}}", message.content), unsafe_allow_html=True)
 
83
 
84
  print(response['source_documents'][0])
85
 
86
+ for i, message in enumerate(st.session_state.chat_history):
87
  if i % 2 == 0:
88
  st.write(user_template.replace(
89
  "{{MSG}}", message.content), unsafe_allow_html=True)