Spaces:
Build error
Build error
Update app.py
Browse files
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
|
| 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 |
|