roychao19477 commited on
Commit
c4d3233
·
1 Parent(s): 963479a

Add limitations

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ def extract_faces(video_file):
195
  [cv2.cvtColor(cv2.resize(f, (224, 224)), cv2.COLOR_BGR2RGB) for f in frames],
196
  fps=fps
197
  )
198
- clip = vfx.MirrorY.apply(clip)
199
  clip.write_videofile(output_path, codec="libx264", audio=False, fps=25)
200
 
201
  # Save audio from original, resampled to 16kHz
 
195
  [cv2.cvtColor(cv2.resize(f, (224, 224)), cv2.COLOR_BGR2RGB) for f in frames],
196
  fps=fps
197
  )
198
+ clip = clip.fx(vfx.MirrorY())
199
  clip.write_videofile(output_path, codec="libx264", audio=False, fps=25)
200
 
201
  # Save audio from original, resampled to 16kHz