Skip to content

Commit 99823d5

Browse files
author
Lincoln Stein
committed
more fixes to update and install
1 parent 0abceb0 commit 99823d5

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

installer/templates/invoke.bat.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ IF /I "%choice%" == "1" (
4141
python .venv\Scripts\invokeai-configure.exe --skip-sd-weight --skip-support-models
4242
) ELSE IF /I "%choice%" == "7" (
4343
echo Running invokeai-configure...
44-
python .venv\Scripts\invokeai-configure.exe --yes --default_only
44+
python .venv\Scripts\invokeai-configure.exe --yes --skip-sd-weight
4545
) ELSE IF /I "%choice%" == "8" (
4646
echo Developer Console
4747
echo Python command is:

installer/templates/invoke.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ do_choice() {
8282
7)
8383
clear
8484
printf "Re-run the configure script to fix a broken install or to complete a major upgrade\n"
85-
invokeai-configure --root ${INVOKEAI_ROOT} --yes --default_only
85+
invokeai-configure --root ${INVOKEAI_ROOT} --yes --default_only --skip-sd-weights
8686
;;
8787
8)
8888
clear

invokeai/frontend/install/model_install.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,8 @@ def process_and_execute(
650650
):
651651
# need to reinitialize config in subprocess
652652
config = InvokeAIAppConfig.get_config()
653-
config.parse_args(['--root',opt.root])
653+
args = ["--root", opt.root] if opt.root else []
654+
config.parse_args(args)
654655

655656
# set up so that stderr is sent to conn_out
656657
if conn_out:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.0.1post2"
1+
__version__ = "3.0.1post3"

0 commit comments

Comments
 (0)