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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -87,8 +87,8 @@ 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, audio=False)
92
 
93
  return type + "_result.webm"
94
 
 
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"
94