improve messaging during installation process

This commit is contained in:
Lincoln Stein 2022-11-11 03:48:21 +00:00
parent 0b529f0c57
commit a04965b0e9
4 changed files with 11 additions and 8 deletions

View File

@ -157,8 +157,8 @@ if %errorlevel% neq 0 goto err_exit
echo ***** Finished downloading models *****
echo ***** Installing invoke.bat ******
cp 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
rd /s /q installer installer_files

View File

@ -206,5 +206,6 @@ cp installer/invoke.sh .
# more cleanup
rm -rf installer/ installer_files/
echo "All done! Run the command './invoke.sh' to start InvokeAI."
read -p "Press any key to exit..."
exit

View File

@ -104,13 +104,15 @@ def postscript():
print(
'''\n** Model Installation Successful **\nYou're all set! You may now launch InvokeAI using one of these two commands:
Web version:
python scripts/invoke.py --web (connect to http://localhost:9090)
Command-line version:
python scripts/invoke.py
Remember to activate that 'invokeai' environment before running invoke.py.
Or, if you used one of the automated installers, execute "invoke.sh" (Linux/Mac)
or "invoke.bat" (Windows) to start the script.
Have fun!
'''
)

View File

@ -80,7 +80,7 @@ call conda activate
@rem create the environment
call conda env remove -n invokeai
cp environments-and-requirements\environment-win-cuda.yml environment.yml
copy environments-and-requirements\environment-win-cuda.yml environment.yml
call conda env create
if "%ERRORLEVEL%" NEQ "0" (
echo ""
@ -92,8 +92,8 @@ if "%ERRORLEVEL%" NEQ "0" (
exit /b
)
cp source_installer/install.bat install.bat
cp source_installer/update.bat update.bat
copy source_installer/install.bat install.bat
copy source_installer/update.bat update.bat
call conda activate invokeai
@rem preload the models