mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-06 18:08:29 +00:00
Fix preview to work with multiple frame processors
This commit is contained in:
parent
e9808ca0d8
commit
10d62f1a59
@ -205,6 +205,7 @@ def init_preview() -> None:
|
||||
def update_preview(frame_number: int = 0) -> None:
|
||||
video_frame = None
|
||||
if roop.globals.source_path and roop.globals.target_path:
|
||||
video_frame = None
|
||||
for frame_processor in get_frame_processors_modules(roop.globals.frame_processors):
|
||||
video_frame = frame_processor.process_faces(
|
||||
get_one_face(cv2.imread(roop.globals.source_path)),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user