Shabdobhedi commited on
Commit
0db5fea
1 Parent(s): b87f8f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ index_name="medical-bot"'''
39
  embeddings = HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L6-v2')
40
  # also i change here
41
  # db = FAISS.load_local(DB_FAISS_PATH, embeddings)
42
- DB_FAISS_PATH = r'data\vector'
43
  print("vector_base is loading from the folder")
44
  db = FAISS.load_local(DB_FAISS_PATH, embeddings,
45
  allow_dangerous_deserialization=True)
 
39
  embeddings = HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L6-v2')
40
  # also i change here
41
  # db = FAISS.load_local(DB_FAISS_PATH, embeddings)
42
+ DB_FAISS_PATH = "data/vector"
43
  print("vector_base is loading from the folder")
44
  db = FAISS.load_local(DB_FAISS_PATH, embeddings,
45
  allow_dangerous_deserialization=True)