Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -106,10 +106,8 @@ class ImageTransform:
|
|
106 |
])}
|
107 |
def __call__(self, img, phase='train'):
|
108 |
img = self.transform[phase](img)
|
109 |
-
|
110 |
return img
|
111 |
-
|
112 |
-
|
113 |
path = hf_hub_download('huggan/NeonGAN', 'model.bin')
|
114 |
model_gen_n = torch.load(path, map_location=torch.device('cpu'))
|
115 |
|
|
|
106 |
])}
|
107 |
def __call__(self, img, phase='train'):
|
108 |
img = self.transform[phase](img)
|
|
|
109 |
return img
|
110 |
+
|
|
|
111 |
path = hf_hub_download('huggan/NeonGAN', 'model.bin')
|
112 |
model_gen_n = torch.load(path, map_location=torch.device('cpu'))
|
113 |
|