SerdarHelli commited on
Commit
ab3fc14
1 Parent(s): 3d66aee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -202,7 +202,7 @@ def get_all(cfg,input,truncation_psi,mesh_resolution,random_seed,fps,num_frames)
202
  input_pose = forward_pose.to(device)
203
 
204
  # Generate videos
205
- z = torch.from_numpy(np.random.RandomState(int(0)).randn(1, G.z_dim).astype('float32')).to(device)
206
 
207
  with torch.no_grad():
208
  ws = G.mapping(z, input_pose, {'mask': input_label, 'pose': input_pose})
 
202
  input_pose = forward_pose.to(device)
203
 
204
  # Generate videos
205
+ z = torch.from_numpy(np.random.RandomState(int(random_seed)).randn(1, G.z_dim).astype('float32')).to(device)
206
 
207
  with torch.no_grad():
208
  ws = G.mapping(z, input_pose, {'mask': input_label, 'pose': input_pose})