From 9e2e82a75250f28d0be9cd10fd89851cb2b682d2 Mon Sep 17 00:00:00 2001 From: greatwolf Date: Sun, 13 Aug 2023 05:15:55 -0700 Subject: [PATCH 1/2] 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. --- invokeai/frontend/install/model_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/install/model_install.py b/invokeai/frontend/install/model_install.py index 55e45931e3..ade3043d96 100644 --- a/invokeai/frontend/install/model_install.py +++ b/invokeai/frontend/install/model_install.py @@ -775,7 +775,7 @@ def main(): if not config.model_conf_path.exists(): 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() sys.exit(0) From 0aba105a8f1f3fddd3db990787d503469d6ad0f1 Mon Sep 17 00:00:00 2001 From: greatwolf Date: Sun, 13 Aug 2023 05:32:35 -0700 Subject: [PATCH 2/2] Missed a spot in configure_invokeai.py --- scripts/configure_invokeai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/configure_invokeai.py b/scripts/configure_invokeai.py index 61d32b6df5..b40194c6ce 100755 --- a/scripts/configure_invokeai.py +++ b/scripts/configure_invokeai.py @@ -2,7 +2,7 @@ # Copyright (c) 2022 Lincoln D. Stein (https://github.com/lstein) import warnings -from invokeai.frontend.install import invokeai_configure as configure +from invokeai.frontend.install.invokeai_configure import invokeai_configure as configure if __name__ == "__main__": warnings.warn("configure_invokeai.py is deprecated, running 'invokeai-configure'...", DeprecationWarning)