Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ def display_docs(docs):
|
|
227 |
output_str = ''
|
228 |
for i, doc in enumerate(docs):
|
229 |
source = doc.metadata['source'].split('/')[-1]
|
230 |
-
output_str += f"Ref: {i+1}\n{repr(doc.page_content)}\nSource: {source}\n
|
231 |
return output_str
|
232 |
|
233 |
|
|
|
227 |
output_str = ''
|
228 |
for i, doc in enumerate(docs):
|
229 |
source = doc.metadata['source'].split('/')[-1]
|
230 |
+
output_str += f"Ref: {i+1}\n{repr(doc.page_content)}\nSource: {source}\n*§*§*\n"
|
231 |
return output_str
|
232 |
|
233 |
|