Spaces:
Runtime error
Runtime error
new
Browse files
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=
|
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 |
|