maduvantha commited on
Commit
1101fa6
·
1 Parent(s): 37c1a74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,7 +50,7 @@ st.write("# Hello, World!")
50
 
51
  generator, kp_detector = load_checkpoints(config_path='config/vox-256.yaml',checkpoint_path='vox-cpk.pth.tar')
52
 
53
- predictions = make_animation(source_image, driving_video, generator, kp_detector, relative=True)
54
-
55
  #save resulting video
56
  imageio.mimsave('generated.mp4', [img_as_ubyte(frame) for frame in predictions])
 
50
 
51
  generator, kp_detector = load_checkpoints(config_path='config/vox-256.yaml',checkpoint_path='vox-cpk.pth.tar')
52
 
53
+ predictions = make_animation(source_image, driving_video, generator, kp_detector, relative=False)
54
+ st.write(predictions)
55
  #save resulting video
56
  imageio.mimsave('generated.mp4', [img_as_ubyte(frame) for frame in predictions])