VanNguyen1214 commited on
Commit
4ed5f6a
·
verified ·
1 Parent(s): 7ccd451

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -126,8 +126,9 @@ def complete_pipeline(background: Image.Image, source: Image.Image):
126
 
127
  # Bước 5: Face Swapping - background baldhead và overlay result
128
  final_result = swap_face_now(
129
- overlay_result.convert("RGB"), # overlay result
130
- background.convert("RGB") # background baldhead
 
131
 
132
  )
133
 
 
126
 
127
  # Bước 5: Face Swapping - background baldhead và overlay result
128
  final_result = swap_face_now(
129
+ background.convert("RGB"), # background baldhead
130
+ overlay_result.convert("RGB") # overlay result
131
+
132
 
133
  )
134