Jezia commited on
Commit
bce2c8c
·
1 Parent(s): ad645e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from pytorch_pretrained_biggan import (BigGAN, one_hot_from_names, truncated_noi
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).cuda().eval()
10
 
11
  # Prepare a input
12
  truncation = 0.4
 
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
 
11
  # Prepare a input
12
  truncation = 0.4