Penality commited on
Commit
58ffb78
·
verified ·
1 Parent(s): 7d978f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ INDEX_FILE = "faiss_index.py" # stores embeddings
36
  METADATA_FILE = "metadata.json" # stores Document metadata
37
 
38
  # create the directory
39
- os.makedirs(DOCUMENT_DIR, exists_ok=True)
40
 
41
  # load the faiss indexes file
42
  if os.path.exists(INDEX_FILE): # check if index file exists
 
36
  METADATA_FILE = "metadata.json" # stores Document metadata
37
 
38
  # create the directory
39
+ os.makedirs(DOCUMENT_DIR, exist_ok=True)
40
 
41
  # load the faiss indexes file
42
  if os.path.exists(INDEX_FILE): # check if index file exists