Spaces:
Runtime error
Runtime error
Commit
·
3875a44
1
Parent(s):
6410177
update
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -44,7 +44,7 @@ def get_device():
|
|
| 44 |
else:
|
| 45 |
return torch.device('cpu')
|
| 46 |
|
| 47 |
-
USE_CUDA =
|
| 48 |
device = get_device()
|
| 49 |
if device.type == 'cuda':
|
| 50 |
USE_CUDA = True
|
|
|
|
| 44 |
else:
|
| 45 |
return torch.device('cpu')
|
| 46 |
|
| 47 |
+
USE_CUDA = True
|
| 48 |
device = get_device()
|
| 49 |
if device.type == 'cuda':
|
| 50 |
USE_CUDA = True
|