mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
closes #5932
This commit is contained in:
parent
1bd8e33f8c
commit
0851de9090
@ -608,8 +608,9 @@ def main() -> None:
|
|||||||
config.parse_args(invoke_args)
|
config.parse_args(invoke_args)
|
||||||
logger = InvokeAILogger().get_logger(config=config)
|
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.")
|
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
|
from invokeai.frontend.install.invokeai_configure import invokeai_configure
|
||||||
|
|
||||||
invokeai_configure()
|
invokeai_configure()
|
||||||
|
Loading…
Reference in New Issue
Block a user