Spaces:
Sleeping
Sleeping
Pranjal Gupta
commited on
Commit
·
1591091
1
Parent(s):
b277fbe
remove the dumy doc
Browse files
app.py
CHANGED
|
@@ -172,7 +172,5 @@ demo = gr.ChatInterface(
|
|
| 172 |
)
|
| 173 |
|
| 174 |
if __name__ == "__main__":
|
| 175 |
-
# Create a dummy doc for initial testing if no PDF is uploaded
|
| 176 |
-
vectorDB.add_documents([Document(page_content="This is a sample document about the history of artificial intelligence. It was created to demonstrate the RAG pipeline.", metadata={"docId": "uploaded_doc"})])
|
| 177 |
|
| 178 |
demo.launch()
|
|
|
|
| 172 |
)
|
| 173 |
|
| 174 |
if __name__ == "__main__":
|
|
|
|
|
|
|
| 175 |
|
| 176 |
demo.launch()
|