Spaces:
Runtime error
Runtime error
lakshmivairamani
commited on
Commit
•
1a2596b
1
Parent(s):
00b8982
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,8 @@ def query_vector_store(vector_store, query):
|
|
109 |
return '\n\n'.join([doc.page_content for doc in docs])
|
110 |
|
111 |
# Load and process the PDF (ensure the PDF is accessible from your Colab environment)
|
112 |
-
pdf_path = "The Magic of Analysing Customers Experience in Freight Forwarding Industry -BLOG.pdf"
|
|
|
113 |
# Check if the user has the necessary permissions to access the directory
|
114 |
# if not os.path.isdir(pdf_path):
|
115 |
# raise ValueError(f"Directory {pdf_path} does not exist or you do not have permission to access it.")
|
|
|
109 |
return '\n\n'.join([doc.page_content for doc in docs])
|
110 |
|
111 |
# Load and process the PDF (ensure the PDF is accessible from your Colab environment)
|
112 |
+
#pdf_path = "The Magic of Analysing Customers Experience in Freight Forwarding Industry -BLOG.pdf"
|
113 |
+
pdf_path = "NewAge.pdf"
|
114 |
# Check if the user has the necessary permissions to access the directory
|
115 |
# if not os.path.isdir(pdf_path):
|
116 |
# raise ValueError(f"Directory {pdf_path} does not exist or you do not have permission to access it.")
|