From 0851de9090ae62e1526afc151083cf0c2c67ddf7 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Wed, 13 Mar 2024 08:28:36 -0400 Subject: [PATCH] closes #5932 --- invokeai/frontend/install/model_install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/invokeai/frontend/install/model_install.py b/invokeai/frontend/install/model_install.py index 4ef038277c..49302498c5 100644 --- a/invokeai/frontend/install/model_install.py +++ b/invokeai/frontend/install/model_install.py @@ -608,8 +608,9 @@ def main() -> None: config.parse_args(invoke_args) logger = InvokeAILogger().get_logger(config=config) - if not config.model_conf_path.exists(): + if not config.models_path.exists(): logger.info("Your InvokeAI root directory is not set up. Calling invokeai-configure.") + sys.argv = ['invokeai_configure','--yes', '--skip-sd-weights'] from invokeai.frontend.install.invokeai_configure import invokeai_configure invokeai_configure()