sahanes commited on
Commit
d2e4f25
·
verified ·
1 Parent(s): a2168f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ hf_embeddings = HuggingFaceEndpointEmbeddings(
56
  ## Prevent re-indexing if vectorstores already exists
57
  if os.path.exists("/home/user/app/data/vectorstore"):
58
  vectorstore = FAISS.load_local(
59
- "./data/vectorstore",
60
  hf_embeddings,
61
  allow_dangerous_deserialization=True # this is necessary to load the vectorstore from disk as it's stored as a `.pkl` file.
62
  )
 
56
  ## Prevent re-indexing if vectorstores already exists
57
  if os.path.exists("/home/user/app/data/vectorstore"):
58
  vectorstore = FAISS.load_local(
59
+ "/home/user/app/data/vectorstore",
60
  hf_embeddings,
61
  allow_dangerous_deserialization=True # this is necessary to load the vectorstore from disk as it's stored as a `.pkl` file.
62
  )