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