fengtc commited on
Commit
2f94971
·
1 Parent(s): ed8ab6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ embeddings = HuggingFaceEmbeddings(model_name="BAAI/bge-large-en")
22
 
23
  # 加载数据
24
  #docsearch = FAISS.from_texts(texts, embeddings)
25
- docsearch = FAISS.load_local("/home/user/app/bge-large-en_faiss_index/faiss_index", embeddings)
26
 
27
 
28
  chain = load_qa_chain(OpenAI(), chain_type="stuff",verbose=True)
 
22
 
23
  # 加载数据
24
  #docsearch = FAISS.from_texts(texts, embeddings)
25
+ docsearch = FAISS.load_local("./faiss_index", embeddings)
26
 
27
 
28
  chain = load_qa_chain(OpenAI(), chain_type="stuff",verbose=True)