Spaces:
Runtime error
Runtime error
change device to cpu
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torchvision.transforms as T
|
|
4 |
from torchvision.utils import make_grid
|
5 |
import torch
|
6 |
|
7 |
-
device =
|
8 |
|
9 |
@torch.inference_mode()
|
10 |
def inference_gan():
|
|
|
4 |
from torchvision.utils import make_grid
|
5 |
import torch
|
6 |
|
7 |
+
device = "cpu"
|
8 |
|
9 |
@torch.inference_mode()
|
10 |
def inference_gan():
|