mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-06 18:08:29 +00:00
fix ui.py
This commit is contained in:
parent
eeb94bf403
commit
29ff777220
@ -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)),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user