From 99823d5039e4fc1cdaa19fbaa6202af8670fda52 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sun, 30 Jul 2023 11:57:06 -0400 Subject: [PATCH] more fixes to update and install --- installer/templates/invoke.bat.in | 2 +- installer/templates/invoke.sh.in | 2 +- invokeai/frontend/install/model_install.py | 3 ++- invokeai/version/invokeai_version.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/installer/templates/invoke.bat.in b/installer/templates/invoke.bat.in index 5c6465ee3a..f99228fe4d 100644 --- a/installer/templates/invoke.bat.in +++ b/installer/templates/invoke.bat.in @@ -41,7 +41,7 @@ IF /I "%choice%" == "1" ( python .venv\Scripts\invokeai-configure.exe --skip-sd-weight --skip-support-models ) ELSE IF /I "%choice%" == "7" ( echo Running invokeai-configure... - python .venv\Scripts\invokeai-configure.exe --yes --default_only + python .venv\Scripts\invokeai-configure.exe --yes --skip-sd-weight ) ELSE IF /I "%choice%" == "8" ( echo Developer Console echo Python command is: diff --git a/installer/templates/invoke.sh.in b/installer/templates/invoke.sh.in index cb54074aa2..991281f04c 100644 --- a/installer/templates/invoke.sh.in +++ b/installer/templates/invoke.sh.in @@ -82,7 +82,7 @@ do_choice() { 7) clear printf "Re-run the configure script to fix a broken install or to complete a major upgrade\n" - invokeai-configure --root ${INVOKEAI_ROOT} --yes --default_only + invokeai-configure --root ${INVOKEAI_ROOT} --yes --default_only --skip-sd-weights ;; 8) clear diff --git a/invokeai/frontend/install/model_install.py b/invokeai/frontend/install/model_install.py index 4d47e9a333..0633553a3d 100644 --- a/invokeai/frontend/install/model_install.py +++ b/invokeai/frontend/install/model_install.py @@ -650,7 +650,8 @@ def process_and_execute( ): # need to reinitialize config in subprocess config = InvokeAIAppConfig.get_config() - config.parse_args(['--root',opt.root]) + args = ["--root", opt.root] if opt.root else [] + config.parse_args(args) # set up so that stderr is sent to conn_out if conn_out: diff --git a/invokeai/version/invokeai_version.py b/invokeai/version/invokeai_version.py index f383961423..2e0d56b8ff 100644 --- a/invokeai/version/invokeai_version.py +++ b/invokeai/version/invokeai_version.py @@ -1 +1 @@ -__version__ = "3.0.1post2" +__version__ = "3.0.1post3"