mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(install): load_models needs to be absolutely last
setup.py: Put in the name of the *product*, not the project Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
This commit is contained in:
parent
3ac0f11e97
commit
ce8c2bea2f
@ -132,22 +132,21 @@ if %errorlevel% neq 0 goto err_exit
|
|||||||
|
|
||||||
echo ***** Installed Python dependencies *****
|
echo ***** Installed Python dependencies *****
|
||||||
|
|
||||||
@rem preload the models
|
|
||||||
call .venv\Scripts\python scripts\preload_models.py
|
|
||||||
set err_msg=----- model download clone failed -----
|
|
||||||
if %errorlevel% neq 0 goto err_exit
|
|
||||||
|
|
||||||
echo ***** Finished downloading models *****
|
|
||||||
|
|
||||||
echo ***** Installing invoke.bat ******
|
echo ***** Installing invoke.bat ******
|
||||||
copy installer\invoke.bat .\invoke.bat
|
copy installer\invoke.bat .\invoke.bat
|
||||||
echo All done! Execute the file invoke.bat in this directory to start InvokeAI
|
|
||||||
|
|
||||||
@rem more cleanup
|
@rem more cleanup
|
||||||
rd /s /q installer installer_files
|
rd /s /q installer installer_files
|
||||||
|
|
||||||
|
@rem preload the models
|
||||||
|
call .venv\Scripts\python scripts\load_models.py
|
||||||
|
set err_msg=----- model download clone failed -----
|
||||||
|
if %errorlevel% neq 0 goto err_exit
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
|
echo ***** Finished downloading models *****
|
||||||
|
|
||||||
|
echo All done! Execute the file invoke.bat in this directory to start InvokeAI
|
||||||
pause
|
pause
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
@ -199,21 +199,20 @@ _err_exit $? _err_msg
|
|||||||
|
|
||||||
echo -e "\n***** Installed Python dependencies *****\n"
|
echo -e "\n***** Installed Python dependencies *****\n"
|
||||||
|
|
||||||
# preload the models
|
|
||||||
.venv/bin/python3 scripts/preload_models.py
|
|
||||||
_err_msg="\n----- model download clone failed -----\n"
|
|
||||||
_err_exit $? _err_msg
|
|
||||||
|
|
||||||
echo -e "\n***** Finished downloading models *****\n"
|
|
||||||
|
|
||||||
echo -e "\n***** Installing invoke.sh ******\n"
|
echo -e "\n***** Installing invoke.sh ******\n"
|
||||||
cp installer/invoke.sh .
|
cp installer/invoke.sh .
|
||||||
|
|
||||||
# more cleanup
|
# more cleanup
|
||||||
rm -rf installer/ installer_files/
|
rm -rf installer/ installer_files/
|
||||||
|
|
||||||
|
# preload the models
|
||||||
|
.venv/bin/python3 scripts/load_models.py
|
||||||
|
_err_msg="\n----- model download clone failed -----\n"
|
||||||
|
_err_exit $? _err_msg
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
|
echo -e "\n***** Finished downloading models *****\n"
|
||||||
|
|
||||||
echo "All done! Run the command './invoke.sh' to start InvokeAI."
|
echo "All done! Run the command './invoke.sh' to start InvokeAI."
|
||||||
read -p "Press any key to exit..."
|
read -p "Press any key to exit..."
|
||||||
exit
|
exit
|
||||||
|
2
setup.py
2
setup.py
@ -21,7 +21,7 @@ LONG_DESCRIPTION = ('This version of Stable Diffusion features a slick WebGUI, a
|
|||||||
HOMEPAGE = 'https://github.com/invoke-ai/InvokeAI'
|
HOMEPAGE = 'https://github.com/invoke-ai/InvokeAI'
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='invoke-ai',
|
name='InvokeAI',
|
||||||
version=VERSION,
|
version=VERSION,
|
||||||
description=DESCRIPTION,
|
description=DESCRIPTION,
|
||||||
long_description=LONG_DESCRIPTION,
|
long_description=LONG_DESCRIPTION,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user