Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def gpu_decorator(func):
|
|
| 39 |
return func
|
| 40 |
|
| 41 |
device = (
|
| 42 |
-
"
|
| 43 |
if torch.cuda.is_available()
|
| 44 |
else "mps" if torch.backends.mps.is_available() else "cpu"
|
| 45 |
)
|
|
|
|
| 39 |
return func
|
| 40 |
|
| 41 |
device = (
|
| 42 |
+
"cuda"
|
| 43 |
if torch.cuda.is_available()
|
| 44 |
else "mps" if torch.backends.mps.is_available() else "cpu"
|
| 45 |
)
|