Spaces:
Runtime error
Runtime error
Update prompts.py
Browse files- prompts.py +1 -1
prompts.py
CHANGED
|
@@ -5,7 +5,7 @@ from langchain_core.runnables import RunnableSequence
|
|
| 5 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 6 |
|
| 7 |
# Initialize Hugging Face API
|
| 8 |
-
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "
|
| 9 |
|
| 10 |
# Load LLM
|
| 11 |
llm = HuggingFaceHub(repo_id="tiiuae/falcon-7b-instruct", model_kwargs={"temperature": 0.1, "max_new_tokens": 500})
|
|
|
|
| 5 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 6 |
|
| 7 |
# Initialize Hugging Face API
|
| 8 |
+
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "hf_token"
|
| 9 |
|
| 10 |
# Load LLM
|
| 11 |
llm = HuggingFaceHub(repo_id="tiiuae/falcon-7b-instruct", model_kwargs={"temperature": 0.1, "max_new_tokens": 500})
|