diff --git a/installer/lib/installer.py b/installer/lib/installer.py index f8bd72d495..cc694c2934 100644 --- a/installer/lib/installer.py +++ b/installer/lib/installer.py @@ -348,7 +348,7 @@ class InvokeAiInstance: introduction() - from invokeai.frontend.install import invokeai_configure + from invokeai.frontend.install.invokeai_configure import invokeai_configure # NOTE: currently the config script does its own arg parsing! this means the command-line switches # from the installer will also automatically propagate down to the config script. diff --git a/invokeai/frontend/merge/merge_diffusers.py b/invokeai/frontend/merge/merge_diffusers.py index db493ec17f..f2e211a1b4 100644 --- a/invokeai/frontend/merge/merge_diffusers.py +++ b/invokeai/frontend/merge/merge_diffusers.py @@ -382,7 +382,8 @@ def run_cli(args: Namespace): def main(): args = _parse_args() - config.parse_args(["--root", str(args.root_dir)]) + if args.root_dir: + config.parse_args(["--root", str(args.root_dir)]) try: if args.front_end: