rphrp1985 commited on
Commit
c9e77e2
·
verified ·
1 Parent(s): d5c0d60

Update predict.py

Browse files
Files changed (1) hide show
  1. predict.py +1 -1
predict.py CHANGED
@@ -176,7 +176,7 @@ class Predictor:
176
  ext = image_format_by_path(target_image_path)
177
  size = os.path.getsize(target_image_path)
178
  logger.info(f'origin {size/1024}k')
179
- result = self.face_swapper.get(frame, target_face, source_face, paste_back=True, blend_ratio=0.2 )
180
  if enhance_face:
181
  result = self.enhance_face(target_face, result, weight)
182
  # _, _, result = self.face_enhancer.enhance(
 
176
  ext = image_format_by_path(target_image_path)
177
  size = os.path.getsize(target_image_path)
178
  logger.info(f'origin {size/1024}k')
179
+ result = self.face_swapper.get(frame, target_face, source_face, paste_back=True )
180
  if enhance_face:
181
  result = self.enhance_face(target_face, result, weight)
182
  # _, _, result = self.face_enhancer.enhance(