Spaces:
Running
Running
Goodnight7
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -70,8 +70,8 @@ if prompt :
|
|
70 |
docs_content = "\n\n".join(
|
71 |
[
|
72 |
f"Doc {i + 1}:\n"
|
73 |
-
f"Source: {doc.metadata.get('source', 'N/A')}\n"
|
74 |
-
f"Title: {doc.metadata.get('title', 'N/A')}\n"
|
75 |
f"Content: {doc.page_content}\n"
|
76 |
for i, doc in enumerate(used_docs)
|
77 |
]
|
|
|
70 |
docs_content = "\n\n".join(
|
71 |
[
|
72 |
f"Doc {i + 1}:\n"
|
73 |
+
#f"Source: {doc.metadata.get('source', 'N/A')}\n"
|
74 |
+
#f"Title: {doc.metadata.get('title', 'N/A')}\n"
|
75 |
f"Content: {doc.page_content}\n"
|
76 |
for i, doc in enumerate(used_docs)
|
77 |
]
|