lvwerra HF staff commited on
Commit
f0a40b9
1 Parent(s): 757bca5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ example = [
12
  ["def count_words(filename):", 40, 0.6, 42]]
13
 
14
  token = os.environ["HUB_TOKEN"]
15
- device="cpu" #"cuda:0"
16
  revision = "dedup-alt"
17
 
18
  tokenizer = AutoTokenizer.from_pretrained("bigcode/christmas-models", use_auth_token=token)
 
12
  ["def count_words(filename):", 40, 0.6, 42]]
13
 
14
  token = os.environ["HUB_TOKEN"]
15
+ device="cuda:0"
16
  revision = "dedup-alt"
17
 
18
  tokenizer = AutoTokenizer.from_pretrained("bigcode/christmas-models", use_auth_token=token)