feng2022 commited on
Commit
e065792
1 Parent(s): ed89585

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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].cpu().numpy()
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()