Spaces:
Running
Running
Lucas Hansen
commited on
Commit
•
408a47f
1
Parent(s):
ea43302
Update simple.py
Browse files
simple.py
CHANGED
@@ -30,7 +30,8 @@ def swap_faces(source_image_path, target_image_path, enhance_face=True, enhance_
|
|
30 |
'-o', output_image_path,
|
31 |
'--output-image-quality', '80',
|
32 |
'--execution-providers', provider,
|
33 |
-
'--face-detector-model', 'yunet',
|
|
|
34 |
]
|
35 |
|
36 |
cli_args += [ '--frame-processors', 'face_swapper' ]
|
|
|
30 |
'-o', output_image_path,
|
31 |
'--output-image-quality', '80',
|
32 |
'--execution-providers', provider,
|
33 |
+
# '--face-detector-model', 'yunet',
|
34 |
+
'--face-analyser-order', 'large-small',
|
35 |
]
|
36 |
|
37 |
cli_args += [ '--frame-processors', 'face_swapper' ]
|