SHAMIL SHAHBAZ AWAN commited on
Commit
2c10cb7
·
verified ·
1 Parent(s): aa45565

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ embedder = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
49
 
50
  # Define file path and vector store folder
51
  file_path = "Atomic habits ( PDFDrive ).pdf" # File directly in the root directory of the app
52
- VECTORSTORE_FOLDER = "vectorstore" # Folder in the root directory
53
 
54
  # Ensure the vector store folder exists
55
  if not os.path.exists(VECTORSTORE_FOLDER):
 
49
 
50
  # Define file path and vector store folder
51
  file_path = "Atomic habits ( PDFDrive ).pdf" # File directly in the root directory of the app
52
+ VECTORSTORE_FOLDER = "vectorstore/index.faiss" # Folder in the root directory
53
 
54
  # Ensure the vector store folder exists
55
  if not os.path.exists(VECTORSTORE_FOLDER):