From f8194a4e9d969ae44d48d295f30678ace4c2f651 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Mon, 29 May 2023 19:27:33 +0530 Subject: [PATCH] bruh moment 4 --- run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.py b/run.py index 0cde834..bf1551c 100644 --- a/run.py +++ b/run.py @@ -72,6 +72,7 @@ def save_file(): def start(): + print("DON'T WORRY. IT'S NOT STUCK.\n" * 5) if not args['source_img'] or not os.path.isfile(args['source_img']): print("\n[WARNING] Please select an image containing a face.") return @@ -90,7 +91,7 @@ def start(): return video_name = target_path.split(sep)[-1].split(".")[0] output_dir = target_path.replace(target_path.split(sep)[-1], "") + sep + video_name - if sep = "\\": + if sep == "\\": output_dir = output_dir.lstrip("\\", "") Path(output_dir).mkdir(exist_ok=True) fps = detect_fps(target_path)