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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ 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 = HuggingFaceEmbeddings("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
  db = FAISS.load_local(FAISS_INDEX_PATH, embeddings)
27
  retriever = db.as_retriever(search_type = "mmr")
28