valeriylo commited on
Commit
11ce526
1 Parent(s): 4a0d0a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -92,8 +92,9 @@ def handle_userinput(user_question):
92
  else:
93
  st.write(bot_template.replace(
94
  "{{MSG}}", message.content), unsafe_allow_html=True)
 
95
  st.write(bot_template.replace(
96
- "{{MSG}}", str(text[1].page_content)), unsafe_allow_html=True)
97
 
98
 
99
 
 
92
  else:
93
  st.write(bot_template.replace(
94
  "{{MSG}}", message.content), unsafe_allow_html=True)
95
+ print(text)
96
  st.write(bot_template.replace(
97
+ "{{MSG}}", str(text.page_content)), unsafe_allow_html=True)
98
 
99
 
100