yhavinga commited on
Commit
8175a61
β€’
1 Parent(s): e15b8bc

Update repo secret name

Browse files
Files changed (1) hide show
  1. generator.py +1 -1
generator.py CHANGED
@@ -18,7 +18,7 @@ def load_model(model_name, task):
18
  try:
19
  if not os.path.exists(".streamlit/secrets.toml"):
20
  raise FileNotFoundError
21
- access_token = st.secrets.get("netherator")
22
  except FileNotFoundError:
23
  access_token = os.environ.get("HF_ACCESS_TOKEN", None)
24
  tokenizer = AutoTokenizer.from_pretrained(
 
18
  try:
19
  if not os.path.exists(".streamlit/secrets.toml"):
20
  raise FileNotFoundError
21
+ access_token = st.secrets.get("babel")
22
  except FileNotFoundError:
23
  access_token = os.environ.get("HF_ACCESS_TOKEN", None)
24
  tokenizer = AutoTokenizer.from_pretrained(