Spaces:
Sleeping
Sleeping
improve retrieved document parsing
Browse files
app.py
CHANGED
@@ -159,7 +159,9 @@ def retriever(query: str, selected_retriever: str):
|
|
159 |
with st.chat_message("assistant"):
|
160 |
placeholder = st.empty()
|
161 |
text = ""
|
162 |
-
|
|
|
|
|
163 |
for chunk in display_retrieved_documents.split():
|
164 |
if chunk == "|||":
|
165 |
text += chunk + "\n"
|
|
|
159 |
with st.chat_message("assistant"):
|
160 |
placeholder = st.empty()
|
161 |
text = ""
|
162 |
+
|
163 |
+
print(display_retrieved_documents)
|
164 |
+
|
165 |
for chunk in display_retrieved_documents.split():
|
166 |
if chunk == "|||":
|
167 |
text += chunk + "\n"
|