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