Hunzla commited on
Commit
7987948
·
1 Parent(s): 18d8e23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ model = AutoModelForCausalLM.from_pretrained(
31
  tokenizer = AutoTokenizer.from_pretrained(
32
  model_name,
33
  revision="main",
34
- token=api_token
35
  # Or the desired revision
36
  )
37
 
 
31
  tokenizer = AutoTokenizer.from_pretrained(
32
  model_name,
33
  revision="main",
34
+ use_auth_token=api_token
35
  # Or the desired revision
36
  )
37