DecoderWQH666 commited on
Commit
d98f072
1 Parent(s): ace6ee1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -185,7 +185,9 @@ def generate_image(chose_emb, choice, gender_GAN, prompts_array):
185
  os.makedirs(save_dir, exist_ok=True)
186
 
187
  new_seed = random.randint(0, 2**32 - 1)
 
188
  torch.manual_seed(new_seed)
 
189
  random_embedding = torch.randn(1, 1, input_dim).to(device)
190
  print(random_embedding)
191
  if choice == "Create a new character":
 
185
  os.makedirs(save_dir, exist_ok=True)
186
 
187
  new_seed = random.randint(0, 2**32 - 1)
188
+ print(new_seed)
189
  torch.manual_seed(new_seed)
190
+
191
  random_embedding = torch.randn(1, 1, input_dim).to(device)
192
  print(random_embedding)
193
  if choice == "Create a new character":