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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ noise_vector = torch.from_numpy(noise_vector)
20
  class_vector = torch.from_numpy(class_vector)
21
 
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
 
20
  class_vector = torch.from_numpy(class_vector)
21
 
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