fix ui.py

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

View File

@ -203,8 +203,8 @@ 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)),