Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ nltk.download('wordnet')
|
|
5 |
from pytorch_pretrained_biggan import (BigGAN, one_hot_from_names, truncated_noise_sample,
|
6 |
save_as_images, display_in_terminal)
|
7 |
initial_archi = 'biggan-deep-128' #@param ['biggan-deep-128', 'biggan-deep-256', 'biggan-deep-512'] {allow-input: true}
|
|
|
8 |
|
9 |
gan_model = BigGAN.from_pretrained(initial_archi)
|
10 |
|
|
|
5 |
from pytorch_pretrained_biggan import (BigGAN, one_hot_from_names, truncated_noise_sample,
|
6 |
save_as_images, display_in_terminal)
|
7 |
initial_archi = 'biggan-deep-128' #@param ['biggan-deep-128', 'biggan-deep-256', 'biggan-deep-512'] {allow-input: true}
|
8 |
+
initial_class = 'dog'
|
9 |
|
10 |
gan_model = BigGAN.from_pretrained(initial_archi)
|
11 |
|