Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ from transformers import pipeline
|
|
24 |
import transformers
|
25 |
model_name='mistralai/Mistral-7B-Instruct-v0.1'
|
26 |
from huggingface_hub import login
|
27 |
-
login(token=
|
28 |
model_config = transformers.AutoConfig.from_pretrained(
|
29 |
model_name,
|
30 |
)
|
|
|
24 |
import transformers
|
25 |
model_name='mistralai/Mistral-7B-Instruct-v0.1'
|
26 |
from huggingface_hub import login
|
27 |
+
login(token=st.secrets["HF_TOKEN"])
|
28 |
model_config = transformers.AutoConfig.from_pretrained(
|
29 |
model_name,
|
30 |
)
|