Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ h3 {
|
|
33 |
# pip install transformers
|
34 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
35 |
|
36 |
-
device = "
|
37 |
|
38 |
tokenizer0 = AutoTokenizer.from_pretrained(MODEL_LIST[0])
|
39 |
model0 = AutoModelForCausalLM.from_pretrained(MODEL_LIST[0]).to(device)
|
|
|
33 |
# pip install transformers
|
34 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
35 |
|
36 |
+
device = "cuda"
|
37 |
|
38 |
tokenizer0 = AutoTokenizer.from_pretrained(MODEL_LIST[0])
|
39 |
model0 = AutoModelForCausalLM.from_pretrained(MODEL_LIST[0]).to(device)
|