Skip to content

Commit

Permalink
Fix headless
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Jul 27, 2023
1 parent 64c1d67 commit b004941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roop/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b004941

Please sign in to comment.