From 8819e12a86f1b38c08873506ba9d846143c91d34 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Thu, 1 Dec 2022 23:38:22 +0000 Subject: [PATCH] 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. --- source_installer/install.bat.in | 8 ++++---- source_installer/install.sh.in | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source_installer/install.bat.in b/source_installer/install.bat.in index b846d79f9eb..7f443b83517 100644 --- a/source_installer/install.bat.in +++ b/source_installer/install.bat.in @@ -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. @@ -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" diff --git a/source_installer/install.sh.in b/source_installer/install.sh.in index 22a075727fd..2ab5db57066 100755 --- a/source_installer/install.sh.in +++ b/source_installer/install.sh.in @@ -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. @@ -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