Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def image_create(input_img):
|
|
66 |
latent = torch.randn((1, 512), device=device)
|
67 |
img_out, _, _ = generator([latent])
|
68 |
imgs_arr = make_image(img_out)
|
69 |
-
return imgs_arr[0]
|
70 |
|
71 |
def main():
|
72 |
#torch.cuda.init()
|
|
|
66 |
latent = torch.randn((1, 512), device=device)
|
67 |
img_out, _, _ = generator([latent])
|
68 |
imgs_arr = make_image(img_out)
|
69 |
+
return imgs_arr[0]
|
70 |
|
71 |
def main():
|
72 |
#torch.cuda.init()
|