enadewan commited on
Commit
937bf02
1 Parent(s): 1700e6c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ from langchain.embeddings import HuggingFaceEmbeddings
11
  from langchain import HuggingFaceHub
12
  from typing import Any, Dict, List
13
  embeddings = HuggingFaceEmbeddings()
14
- HUGGINGFACEHUB_API_TOKEN='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'
15
  new_vectorstore = FAISS.load_local("./faiss_docs_index", embeddings)
16
  llm = HuggingFaceHub(repo_id="declare-lab/flan-alpaca-large", model_kwargs={"temperature": 0.1, "max_length": 512},huggingfacehub_api_token= "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")
17
 
 
11
  from langchain import HuggingFaceHub
12
  from typing import Any, Dict, List
13
  embeddings = HuggingFaceEmbeddings()
14
+ HUGGINGFACEHUB_API_TOKEN=HUGGINGFACEHUB_API_TOKEN
15
  new_vectorstore = FAISS.load_local("./faiss_docs_index", embeddings)
16
  llm = HuggingFaceHub(repo_id="declare-lab/flan-alpaca-large", model_kwargs={"temperature": 0.1, "max_length": 512},huggingfacehub_api_token= "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")
17