From 8b50aaf8386a8fba31e67e816bccd4d4760460a2 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Fri, 2 Jun 2023 16:21:13 +0200 Subject: [PATCH] Remove the out_dir hack, as this breaks temp directory on Linux --- roop/core.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/roop/core.py b/roop/core.py index 1e5cc69..487cce1 100755 --- a/roop/core.py +++ b/roop/core.py @@ -208,8 +208,6 @@ def start(): video_name_full = target_path.split("/")[-1] video_name = os.path.splitext(video_name_full)[0] output_dir = os.path.dirname(target_path) + "/" + video_name - if output_dir.startswith("/"): - output_dir = "." + output_dir Path(output_dir).mkdir(exist_ok=True) status("detecting video's FPS...") fps, exact_fps = detect_fps(target_path)