Spaces:
Sleeping
Sleeping
roychao19477
commited on
Commit
·
0b3d66c
1
Parent(s):
95a8861
Fix
Browse files
app.py
CHANGED
|
@@ -218,7 +218,7 @@ def extract_faces(video_file):
|
|
| 218 |
enhanced_audio_path = run_avse_inference(output_path, audio_path)
|
| 219 |
|
| 220 |
|
| 221 |
-
|
| 222 |
flipped_output_path = os.path.join(tmpdir, "face_only_video_flipped.mp4")
|
| 223 |
flipped_clip = VideoFileClip(output_path, fps=25)
|
| 224 |
flipped_clip = flipped_clip.fx(vfx.mirror_y)
|
|
|
|
| 218 |
enhanced_audio_path = run_avse_inference(output_path, audio_path)
|
| 219 |
|
| 220 |
|
| 221 |
+
from moviepy import VideoFileClip
|
| 222 |
flipped_output_path = os.path.join(tmpdir, "face_only_video_flipped.mp4")
|
| 223 |
flipped_clip = VideoFileClip(output_path, fps=25)
|
| 224 |
flipped_clip = flipped_clip.fx(vfx.mirror_y)
|