yuchenlin commited on
Commit
d5cba2b
1 Parent(s): 46849a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import spaces
5
  # Load model and tokenizer
6
  model_name = "yuchenlin/Rex-v0.1-0.5B"
7
 
8
- device = "cuda" # the device to load the model onto
9
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True, rex_size=3)
10
  model = AutoModelForCausalLM.from_pretrained(
11
  model_name,
 
5
  # Load model and tokenizer
6
  model_name = "yuchenlin/Rex-v0.1-0.5B"
7
 
8
+ device = "cpu" # the device to load the model onto
9
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True, rex_size=3)
10
  model = AutoModelForCausalLM.from_pretrained(
11
  model_name,