Spaces:
Runtime error
Runtime error
nkasmanoff
commited on
Commit
•
48f3abc
1
Parent(s):
a653ebc
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ from transformers import AutoProcessor, AutoModelForCausalLM
|
|
6 |
|
7 |
device='cpu'
|
8 |
|
9 |
-
processor = AutoProcessor.from_pretrained("
|
10 |
-
model = AutoModelForCausalLM.from_pretrained("
|
11 |
|
12 |
|
13 |
|
|
|
6 |
|
7 |
device='cpu'
|
8 |
|
9 |
+
processor = AutoProcessor.from_pretrained("nkasmanoff/git-planet")
|
10 |
+
model = AutoModelForCausalLM.from_pretrained("nkasmanoff/git-planet").to(device)
|
11 |
|
12 |
|
13 |
|