Jezia commited on
Commit
312c3a7
1 Parent(s): a0144b2

Update app.py

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