cordwainersmith commited on
Commit
5584918
1 Parent(s): 5d89fbb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ MODEL_DETAILS = {
66
  class PIIMaskingModel:
67
  def __init__(self, model_name: str):
68
  self.model_name = model_name
69
- hf_token = st.secrets["HF_TOKEN"] # Retrieve the token from secrets
70
  self.tokenizer = AutoTokenizer.from_pretrained(
71
  model_name, use_auth_token=hf_token
72
  )
 
66
  class PIIMaskingModel:
67
  def __init__(self, model_name: str):
68
  self.model_name = model_name
69
+ hf_token = st.secrets["hf_token"] # Retrieve the token from secrets
70
  self.tokenizer = AutoTokenizer.from_pretrained(
71
  model_name, use_auth_token=hf_token
72
  )