Spaces:
Sleeping
Sleeping
roychao19477
commited on
Commit
·
bfc7913
1
Parent(s):
dc2a376
Add limitations
Browse files
app.py
CHANGED
@@ -196,7 +196,7 @@ def extract_faces(video_file):
|
|
196 |
fps=fps
|
197 |
)
|
198 |
from moviepy.video.fx.MirrorY import MirrorY
|
199 |
-
clip = clip.
|
200 |
|
201 |
# Save audio from original, resampled to 16kHz
|
202 |
audio_path = os.path.join(tmpdir, "audio_16k.wav")
|
|
|
196 |
fps=fps
|
197 |
)
|
198 |
from moviepy.video.fx.MirrorY import MirrorY
|
199 |
+
clip = clip.with_effects([MirrorY().copy()])
|
200 |
|
201 |
# Save audio from original, resampled to 16kHz
|
202 |
audio_path = os.path.join(tmpdir, "audio_16k.wav")
|