Spaces:
Running
Running
Lucas Hansen
commited on
Commit
•
ea43302
1
Parent(s):
3148cd1
Update simple.py
Browse files
simple.py
CHANGED
@@ -30,6 +30,7 @@ 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 |
]
|
34 |
|
35 |
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 |
]
|
35 |
|
36 |
cli_args += [ '--frame-processors', 'face_swapper' ]
|