Update app.py
Browse files
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(
|
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)
|