Penality commited on
Commit
5dc8c5b
·
verified ·
1 Parent(s): 369bc9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ documents = [] # Store raw text for reference
32
 
33
 
34
  # initialize the variables to store documents
35
- DOCUMENT_DIR = "Documents"
36
  INDEX_FILE = "faiss_index.py" # stores embeddings
37
  METADATA_FILE = "metadata.json" # stores Document metadata
38
 
 
32
 
33
 
34
  # initialize the variables to store documents
35
+ DOCUMENT_DIR = os.path.join(os.path.dirname(__file__), "documents")
36
  INDEX_FILE = "faiss_index.py" # stores embeddings
37
  METADATA_FILE = "metadata.json" # stores Document metadata
38