Skip to content

Commit 8819e12

Browse files
committed
configure script changed from preload_models.py to configure_invokeai.py
This makes a cosmetic change. Instead of calling preload_models.py (deprecated) it calls configure_invokeai.py. Currently the two do the same thing.
1 parent 967eb60 commit 8819e12

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source_installer/install.bat.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@rem For users who already have git and conda, this step will be skipped.
66

77
@rem Next, it'll checkout the project's git repo, if necessary.
8-
@rem Finally, it'll create the conda environment and preload the models.
8+
@rem Finally, it'll create the conda environment and configure InvokeAI.
99

1010
@rem This enables a user to install this project without manually installing conda and git.
1111

@@ -101,11 +101,11 @@ copy source_installer\invoke.bat.in .\invoke.bat
101101
copy source_installer\update.bat.in .\update.bat
102102

103103
call conda activate invokeai
104-
@rem preload the models
105-
call python scripts\preload_models.py
104+
@rem call configure script
105+
call python scripts\configure_invokeai.py
106106
if "%ERRORLEVEL%" NEQ "0" (
107107
echo ""
108-
echo "The preload_models.py script crashed or was cancelled."
108+
echo "The configure script crashed or was cancelled."
109109
echo "InvokeAI is not ready to run. To run preload_models.py again,"
110110
echo "run the command 'update.bat' in this directory."
111111
echo "Press any key to continue"

source_installer/install.sh.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# For users who already have git and conda, this step will be skipped.
66

77
# Next, it'll checkout the project's git repo, if necessary.
8-
# Finally, it'll create the conda environment and preload the models.
8+
# Finally, it'll create the conda environment and configure InvokeAI.
99

1010
# This enables a user to install this project without manually installing conda and git.
1111

@@ -125,8 +125,8 @@ else
125125
ln -sf ./source_installer/update.sh.in ./update.sh
126126

127127
conda activate invokeai
128-
# preload the models
129-
echo "Calling the preload_models.py script"
128+
# configure
129+
echo "Calling the configure_invokeai script"
130130
python scripts/configure_invokeai.py
131131
status=$?
132132
if test $status -ne 0

0 commit comments

Comments
 (0)