From b8a158d3aabc4b0280cbf24ce747ad9bac21615d Mon Sep 17 00:00:00 2001 From: "K1llM@n" Date: Sat, 3 Jun 2023 12:01:22 +0300 Subject: [PATCH] Fix callback --- roop/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roop/core.py b/roop/core.py index 79350a6..e3ef2d8 100755 --- a/roop/core.py +++ b/roop/core.py @@ -249,7 +249,7 @@ def start(): key=lambda x: int(x.split(sep)[-1].replace(".png", "")) )) status("swapping in progress...") - process_video(args['source_img'], args["frame_paths"], preview.update) + process_video(args['source_img'], args["frame_paths"], preview.update if preview else None) status("creating video...") create_video(video_name, exact_fps, output_dir) status("adding audio...")