InvokeAI/source_installer/update.bat

20 lines
364 B
Batchfile
Raw Normal View History

@echo off
set INSTALL_ENV_DIR=%cd%\installer_files\env
2022-10-26 11:09:21 +00:00
set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%INSTALL_ENV_DIR%\Library\usr\bin;%PATH%
@rem update the repo
if exist ".git" (
call git pull
)
2022-11-02 19:26:02 +00:00
conda env update
2022-11-02 19:26:02 +00:00
conda activate invokeai
python scripts/preload_models.py
2022-10-13 09:50:29 +00:00
2022-11-02 19:26:02 +00:00
echo "Press any key to continue"
2022-10-13 09:50:29 +00:00
pause
2022-11-02 19:26:02 +00:00
exit 0