Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ dimension = 768 # Size of BERT embeddings
|
|
| 52 |
index = faiss.IndexFlatL2(dimension)
|
| 53 |
|
| 54 |
# Folder path containing PDFs
|
| 55 |
-
pdf_folder_path = "
|
| 56 |
|
| 57 |
# Read all PDF files from the specified folder
|
| 58 |
pdf_paths = [os.path.join(pdf_folder_path, f) for f in os.listdir(pdf_folder_path) if f.endswith('.pdf')]
|
|
|
|
| 52 |
index = faiss.IndexFlatL2(dimension)
|
| 53 |
|
| 54 |
# Folder path containing PDFs
|
| 55 |
+
pdf_folder_path = "pdfsforRAG"
|
| 56 |
|
| 57 |
# Read all PDF files from the specified folder
|
| 58 |
pdf_paths = [os.path.join(pdf_folder_path, f) for f in os.listdir(pdf_folder_path) if f.endswith('.pdf')]
|