more fixes to update and install

This commit is contained in:
Lincoln Stein 2023-07-30 11:57:06 -04:00
parent 0abceb0e7b
commit 99823d5039
4 changed files with 5 additions and 4 deletions

View File

@ -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:

View File

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

View File

@ -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:

View File

@ -1 +1 @@
__version__ = "3.0.1post2"
__version__ = "3.0.1post3"