anthony01 commited on
Commit
74ecf07
·
verified ·
1 Parent(s): 82afd49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
 
6
  model_name = "Salesforce/codegen-350M-mono"
7
- token = "use_auth_token" # Replace with your actual token
8
 
9
  # Load tokenizer and model with authentication token
10
  tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)
 
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
 
6
  model_name = "Salesforce/codegen-350M-mono"
7
+ token = "token" # Replace with your actual token
8
 
9
  # Load tokenizer and model with authentication token
10
  tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)