Spaces:
Runtime error
Runtime error
Commit
·
fbca9a1
1
Parent(s):
90de759
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ tokenizer = LlamaTokenizer.from_pretrained("Claimed/capybara", use_auth_token=au
|
|
14 |
|
15 |
model = LlamaForCausalLM.from_pretrained(
|
16 |
"Claimed/capybara", use_auth_token=auth_token)
|
17 |
-
|
18 |
|
19 |
|
20 |
def add_text(history, text):
|
|
|
14 |
|
15 |
model = LlamaForCausalLM.from_pretrained(
|
16 |
"Claimed/capybara", use_auth_token=auth_token)
|
17 |
+
model = model.to('cuda')
|
18 |
|
19 |
|
20 |
def add_text(history, text):
|