mr2along commited on
Commit
ed2cbb4
·
verified ·
1 Parent(s): 807fbc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ def swap_faces(target_files, male_file, female_file, enhancer_name="NONE"):
131
  frame_bgr = cv2.imread(target_path)
132
  out_frame = swap_on_frame(frame_bgr, analysed_source_male, analysed_source_female, enhancer_name)
133
  out_images.append(out_frame[:, :, ::-1]) # RGB cho Gradio
134
- out_videos=f">>> File ok")
135
 
136
  # -------------------- VIDEO --------------------
137
  elif ext in [".mp4", ".avi", ".mov"]:
 
131
  frame_bgr = cv2.imread(target_path)
132
  out_frame = swap_on_frame(frame_bgr, analysed_source_male, analysed_source_female, enhancer_name)
133
  out_images.append(out_frame[:, :, ::-1]) # RGB cho Gradio
134
+ out_videos=f">>> File ok"
135
 
136
  # -------------------- VIDEO --------------------
137
  elif ext in [".mp4", ".avi", ".mov"]: