This commit is contained in:
Lincoln Stein 2024-03-13 08:28:36 -04:00 committed by psychedelicious
parent 1bd8e33f8c
commit 0851de9090

View File

@ -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()