Ayesha931 commited on
Commit
eae57ad
·
verified ·
1 Parent(s): 010f90c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "https://huggingface.co/spaces/Ayesha931/ParentHug/tree/main/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')]
 
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')]