Fixed import issue in invokeai/frontend/install/model_install.py

This fixes an import issue introduced in commit 1bfe983.
The change made 'invokeai_configure' into a module but this line still tries to call it as if it's a function. This will result in a `'module' not callable` error.
This commit is contained in:
greatwolf 2023-08-13 05:15:55 -07:00 committed by GitHub
parent 9afb5d6ace
commit 9e2e82a752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -775,7 +775,7 @@ def main():
if not config.model_conf_path.exists(): if not config.model_conf_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.")
from invokeai.frontend.install import invokeai_configure from invokeai.frontend.install.invokeai_configure import invokeai_configure
invokeai_configure() invokeai_configure()
sys.exit(0) sys.exit(0)