nickmuchi commited on
Commit
9ad6ced
·
1 Parent(s): cf29972

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def load_vectorstore(model):
28
  emb = HuggingFaceInstructEmbeddings(model_name=model,
29
  query_instruction='Represent the Financial question for retrieving supporting paragraphs: ',
30
  embed_instruction='Represent the Financial paragraph for retrieval: ')
31
- return FAISS.load_local('vanguard-embeddings-inst', emb)
32
 
33
  #default embeddings
34
  vectorstore = load_vectorstore(model_options['all-mpnet-base-v2'])
 
28
  emb = HuggingFaceInstructEmbeddings(model_name=model,
29
  query_instruction='Represent the Financial question for retrieving supporting paragraphs: ',
30
  embed_instruction='Represent the Financial paragraph for retrieval: ')
31
+ return FAISS.load_local('vanguard_embeddings_inst', emb)
32
 
33
  #default embeddings
34
  vectorstore = load_vectorstore(model_options['all-mpnet-base-v2'])