csuvikv commited on
Commit
d044d80
1 Parent(s): f18ec2b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ device = "cpu"
7
 
8
 
9
  tokenizer = AutoTokenizer.from_pretrained(checkpoint)
10
- model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
11
 
12
 
13
  set_seed(42)
 
7
 
8
 
9
  tokenizer = AutoTokenizer.from_pretrained(checkpoint)
10
+ model = AutoModelForCausalLM.from_pretrained(checkpoint, token=os.environ['ACCESS_TOKEN']).to(device)
11
 
12
 
13
  set_seed(42)