Jezia commited on
Commit
b9ba4f8
·
1 Parent(s): 91bcd15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ class_vector = torch.from_numpy(class_vector)
22
  # If you have a GPU, put everything on cuda
23
  noise_vector = noise_vector.to('cuda')
24
  class_vector = class_vector.to('cuda')
25
- gan_model.to('cuda')
26
 
27
  # Generate an image
28
  with torch.no_grad():
 
22
  # If you have a GPU, put everything on cuda
23
  noise_vector = noise_vector.to('cuda')
24
  class_vector = class_vector.to('cuda')
25
+ #gan_model.to('cuda')
26
 
27
  # Generate an image
28
  with torch.no_grad():