Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,6 +25,7 @@ import torch.nn.functional as F
|
|
| 25 |
from torchvision import transforms
|
| 26 |
|
| 27 |
import subprocess
|
|
|
|
| 28 |
|
| 29 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 30 |
|
|
|
|
| 25 |
from torchvision import transforms
|
| 26 |
|
| 27 |
import subprocess
|
| 28 |
+
import spaces
|
| 29 |
|
| 30 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 31 |
|