Skip to content

Commit

Permalink
configure script changed from preload_models.py to configure_invokeai.py
Browse files Browse the repository at this point in the history
This makes a cosmetic change. Instead of calling preload_models.py
(deprecated) it calls configure_invokeai.py. Currently the two do
the same thing.
  • Loading branch information
lstein committed Dec 2, 2022
1 parent 967eb60 commit 8819e12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions source_installer/install.bat.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@rem For users who already have git and conda, this step will be skipped.

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

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

Expand Down Expand Up @@ -101,11 +101,11 @@ copy source_installer\invoke.bat.in .\invoke.bat
copy source_installer\update.bat.in .\update.bat

call conda activate invokeai
@rem preload the models
call python scripts\preload_models.py
@rem call configure script
call python scripts\configure_invokeai.py
if "%ERRORLEVEL%" NEQ "0" (
echo ""
echo "The preload_models.py script crashed or was cancelled."
echo "The configure script crashed or was cancelled."
echo "InvokeAI is not ready to run. To run preload_models.py again,"
echo "run the command 'update.bat' in this directory."
echo "Press any key to continue"
Expand Down
6 changes: 3 additions & 3 deletions source_installer/install.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# For users who already have git and conda, this step will be skipped.

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

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

Expand Down Expand Up @@ -125,8 +125,8 @@ else
ln -sf ./source_installer/update.sh.in ./update.sh

conda activate invokeai
# preload the models
echo "Calling the preload_models.py script"
# configure
echo "Calling the configure_invokeai script"
python scripts/configure_invokeai.py
status=$?
if test $status -ne 0
Expand Down

0 comments on commit 8819e12

Please sign in to comment.