sabazo commited on
Commit
a2af16b
1 Parent(s): 66dbd86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -22,7 +22,8 @@ with zipfile.ZipFile('./chroma_db/faiss_db_ray.zip', 'r') as zip_ref:
22
  zip_ref.extractall('./chroma_db/')
23
 
24
  FAISS_INDEX_PATH='./chroma_db/faiss_db_ray'
25
- embeddings = HuggingFaceHubEmbeddings("multi-qa-mpnet-base-dot-v1")
 
26
  db = FAISS.load_local(FAISS_INDEX_PATH, embeddings)
27
  retriever = db.as_retriever(search_type = "mmr")
28
 
 
22
  zip_ref.extractall('./chroma_db/')
23
 
24
  FAISS_INDEX_PATH='./chroma_db/faiss_db_ray'
25
+ #embeddings = HuggingFaceHubEmbeddings("multi-qa-mpnet-base-dot-v1")
26
+ embeddings = HuggingFaceHubEmbeddings()
27
  db = FAISS.load_local(FAISS_INDEX_PATH, embeddings)
28
  retriever = db.as_retriever(search_type = "mmr")
29