Update app.py
Browse files
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
|