From b00494179b723782fcc3da6da393e4e18c08d508 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Thu, 27 Jul 2023 09:18:42 +0200 Subject: [PATCH] Fix headless --- roop/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roop/core.py b/roop/core.py index 5f4a32dfb..358ad3727 100755 --- a/roop/core.py +++ b/roop/core.py @@ -58,7 +58,7 @@ def parse_args() -> None: roop.globals.source_path = args.source_path roop.globals.target_path = args.target_path roop.globals.output_path = normalize_output_path(roop.globals.source_path, roop.globals.target_path, args.output_path) - roop.globals.headless = roop.globals.source_path is None and roop.globals.target_path is None and roop.globals.output_path is None + roop.globals.headless = roop.globals.source_path is not None and roop.globals.target_path is not None and roop.globals.output_path is not None roop.globals.frame_processors = args.frame_processor roop.globals.keep_fps = args.keep_fps roop.globals.keep_frames = args.keep_frames