modified: roop/ui.py

This commit is contained in:
Moeblack 2023-06-13 23:42:50 +08:00 committed by henryruhs
parent 29ff777220
commit 56bb49fc9b

View File

@ -203,8 +203,8 @@ def init_preview() -> None:
def update_preview(frame_number: int = 0) -> None:
if roop.globals.source_path and roop.globals.target_path:
video_frame = None
video_frame = None
if roop.globals.source_path and roop.globals.target_path:
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)),