enadewan commited on
Commit
2fb1e3a
·
1 Parent(s): 336a81b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ from InstructorEmbedding import INSTRUCTOR
14
  from langchain.embeddings import HuggingFaceInstructEmbeddings
15
  instructor_embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl")
16
  HUGGINGFACEHUB_API_TOKEN='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'
17
- new_vectorstore = FAISS.load_local("./faiss_docs_xl_index", embeddings)
18
  llm = HuggingFaceHub(repo_id="declare-lab/flan-alpaca-large", model_kwargs={"temperature": 0.1, "max_length": 512},huggingfacehub_api_token= "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")
19
 
20
 
 
14
  from langchain.embeddings import HuggingFaceInstructEmbeddings
15
  instructor_embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl")
16
  HUGGINGFACEHUB_API_TOKEN='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'
17
+ new_vectorstore = FAISS.load_local("./faiss_docs_xl_index", instructor_embeddings )
18
  llm = HuggingFaceHub(repo_id="declare-lab/flan-alpaca-large", model_kwargs={"temperature": 0.1, "max_length": 512},huggingfacehub_api_token= "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")
19
 
20