mery22 commited on
Commit
0a98570
1 Parent(s): 12a8d2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=gr.secrets["HF_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
  )