Spaces:
Sleeping
Sleeping
roychao19477 commited on
Commit ·
3d4a698
1
Parent(s): 9f35394
Add limitations
Browse files
app.py
CHANGED
|
@@ -196,7 +196,7 @@ def extract_faces(video_file):
|
|
| 196 |
[cv2.cvtColor(cv2.resize(f, (224, 224)), cv2.COLOR_BGR2RGB) for f in frames],
|
| 197 |
fps=fps
|
| 198 |
)
|
| 199 |
-
clip = vfx.MirrorY
|
| 200 |
|
| 201 |
# Save audio from original, resampled to 16kHz
|
| 202 |
audio_path = os.path.join(tmpdir, "audio_16k.wav")
|
|
|
|
| 196 |
[cv2.cvtColor(cv2.resize(f, (224, 224)), cv2.COLOR_BGR2RGB) for f in frames],
|
| 197 |
fps=fps
|
| 198 |
)
|
| 199 |
+
clip = clip.fx(vfx.MirrorY())
|
| 200 |
|
| 201 |
# Save audio from original, resampled to 16kHz
|
| 202 |
audio_path = os.path.join(tmpdir, "audio_16k.wav")
|