ykl7 commited on
Commit
4ac5005
·
1 Parent(s): ccae886

improve retrieved document parsing

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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"