Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def initialize_llm():
|
|
113 |
# Using Mistral model through Hugging Face Hub
|
114 |
llm = HuggingFaceHub(
|
115 |
repo_id="mistralai/Mistral-7B-Instruct-v0.1",
|
116 |
-
huggingfacehub_api_token=os.environ.get('
|
117 |
model_kwargs={
|
118 |
"temperature": 0.7,
|
119 |
"max_new_tokens": 512,
|
|
|
113 |
# Using Mistral model through Hugging Face Hub
|
114 |
llm = HuggingFaceHub(
|
115 |
repo_id="mistralai/Mistral-7B-Instruct-v0.1",
|
116 |
+
huggingfacehub_api_token=os.environ.get('HF_TOKEN'),
|
117 |
model_kwargs={
|
118 |
"temperature": 0.7,
|
119 |
"max_new_tokens": 512,
|