Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def image_create(input_img):
|
|
63 |
#gaussian=gaussian_radius,
|
64 |
log_visual_freq=1000,
|
65 |
input='text',
|
66 |
-
|
67 |
generator = create_generator("stylegan2-ffhq-config-f.pt","feng2022/Time-TravelRephotography_stylegan2-ffhq-config-f",args,device)
|
68 |
latent = torch.randn((1, 512), device=device)
|
69 |
img_out, _, _ = generator([latent])
|
|
|
63 |
#gaussian=gaussian_radius,
|
64 |
log_visual_freq=1000,
|
65 |
input='text',
|
66 |
+
)
|
67 |
generator = create_generator("stylegan2-ffhq-config-f.pt","feng2022/Time-TravelRephotography_stylegan2-ffhq-config-f",args,device)
|
68 |
latent = torch.randn((1, 512), device=device)
|
69 |
img_out, _, _ = generator([latent])
|