Spaces:
Runtime error
Runtime error
Commit
·
2b06616
1
Parent(s):
3bd30c1
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def concatenate_text(examples):
|
|
53 |
|
54 |
comments_dataset = comments_dataset.map(concatenate_text)
|
55 |
|
56 |
-
device = torch.device("
|
57 |
model = model.to(device)
|
58 |
|
59 |
def cls_pooling(model_output):
|
|
|
53 |
|
54 |
comments_dataset = comments_dataset.map(concatenate_text)
|
55 |
|
56 |
+
device = torch.device("cpu")
|
57 |
model = model.to(device)
|
58 |
|
59 |
def cls_pooling(model_output):
|