Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,8 @@ else:
|
|
25 |
device = torch.device('cpu')
|
26 |
print("Using CPU")
|
27 |
|
28 |
-
model = model.to(device)
|
|
|
29 |
model = model.to_bettertransformer()
|
30 |
|
31 |
@spaces.GPU
|
|
|
25 |
device = torch.device('cpu')
|
26 |
print("Using CPU")
|
27 |
|
28 |
+
# model = model.to(device)
|
29 |
+
# Dispatch Errors
|
30 |
model = model.to_bettertransformer()
|
31 |
|
32 |
@spaces.GPU
|