Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import torch
|
| 2 |
import nltk
|
| 3 |
nltk.download('wordnet')
|
| 4 |
-
nltk.download('omw-1.4'
|
|
|
|
| 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}
|
|
|
|
| 1 |
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}
|