freealise commited on
Commit
3ab2420
·
verified ·
1 Parent(s): b35326a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def get_frames(video_in, step, name, resize_w):
87
 
88
  def create_video(frames, fps, type):
89
  print("building video result")
90
- clip = ImageSequenceClip(frames, fps=fps, ismask=True)
91
  clip.write_videofile(type + "_result.webm", fps=fps, codec="libvpx-vp9", audio=False)
92
 
93
  return type + "_result.webm"
 
87
 
88
  def create_video(frames, fps, type):
89
  print("building video result")
90
+ clip = ImageSequenceClip(frames, fps=fps, transparent=True)
91
  clip.write_videofile(type + "_result.webm", fps=fps, codec="libvpx-vp9", audio=False)
92
 
93
  return type + "_result.webm"