model installer calls invokeai-configure if something wrong with root

This commit is contained in:
Lincoln Stein 2023-07-08 12:45:23 -04:00
parent 42fbaf0647
commit 3616ac8754

View File

@ -773,7 +773,7 @@ def main():
config.parse_args(invoke_args)
logger = InvokeAILogger().getLogger(config=config)
if not (config.root_dir / config.conf_path.parent).exists():
if not (config.conf_path / 'models.yaml').exists():
logger.info(
"Your InvokeAI root directory is not set up. Calling invokeai-configure."
)