Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ dimension = 768 # Size of BERT embeddings
|
|
| 60 |
index = faiss.IndexFlatL2(dimension)
|
| 61 |
|
| 62 |
# Folder path containing PDFs
|
| 63 |
-
pdf_folder_path = "
|
| 64 |
|
| 65 |
# Read all PDF files from the specified folder
|
| 66 |
pdf_paths = [os.path.join(pdf_folder_path, f) for f in os.listdir(pdf_folder_path) if f.endswith('.pdf')]
|
|
|
|
| 60 |
index = faiss.IndexFlatL2(dimension)
|
| 61 |
|
| 62 |
# Folder path containing PDFs
|
| 63 |
+
pdf_folder_path = "pdfsforRAG"
|
| 64 |
|
| 65 |
# Read all PDF files from the specified folder
|
| 66 |
pdf_paths = [os.path.join(pdf_folder_path, f) for f in os.listdir(pdf_folder_path) if f.endswith('.pdf')]
|