freealise commited on
Commit
2da3757
·
verified ·
1 Parent(s): e05fd91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def create_video(frames, fps, type):
92
  clip = ImageSequenceClip(frames, fps=fps)
93
 
94
  maskclip = ImageSequenceClip(frames, fps=fps, ismask=True)
95
- maskclip.to_mask(maskclip, canal=2)
96
  clip.set_mask(maskclip)
97
 
98
  clip.write_videofile(type + "_result.webm", fps=fps, codec='libvpx9', audio=False)
 
92
  clip = ImageSequenceClip(frames, fps=fps)
93
 
94
  maskclip = ImageSequenceClip(frames, fps=fps, ismask=True)
95
+ maskclip.to_mask(canal=2)
96
  clip.set_mask(maskclip)
97
 
98
  clip.write_videofile(type + "_result.webm", fps=fps, codec='libvpx9', audio=False)