Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import torch
|
|
2 |
import nltk
|
3 |
nltk.download('wordnet')
|
4 |
nltk.download('omw-1.4')
|
5 |
-
|
6 |
from pytorch_pretrained_biggan import (BigGAN, one_hot_from_names, truncated_noise_sample,
|
7 |
save_as_images, display_in_terminal)
|
8 |
initial_archi = 'biggan-deep-128' #@param ['biggan-deep-128', 'biggan-deep-256', 'biggan-deep-512'] {allow-input: true}
|
|
|
2 |
import nltk
|
3 |
nltk.download('wordnet')
|
4 |
nltk.download('omw-1.4')
|
5 |
+
from PIL import Image
|
6 |
from pytorch_pretrained_biggan import (BigGAN, one_hot_from_names, truncated_noise_sample,
|
7 |
save_as_images, display_in_terminal)
|
8 |
initial_archi = 'biggan-deep-128' #@param ['biggan-deep-128', 'biggan-deep-256', 'biggan-deep-512'] {allow-input: true}
|