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 ***** Finished downloading models *****
echo ***** Installing invoke.bat ****** 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 @rem more cleanup
rd /s /q installer installer_files rd /s /q installer installer_files

View File

@ -206,5 +206,6 @@ cp installer/invoke.sh .
# more cleanup # more cleanup
rm -rf installer/ installer_files/ rm -rf installer/ installer_files/
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

View File

@ -104,13 +104,15 @@ def postscript():
print( print(
'''\n** Model Installation Successful **\nYou're all set! You may now launch InvokeAI using one of these two commands: '''\n** Model Installation Successful **\nYou're all set! You may now launch InvokeAI using one of these two commands:
Web version: Web version:
python scripts/invoke.py --web (connect to http://localhost:9090) python scripts/invoke.py --web (connect to http://localhost:9090)
Command-line version: Command-line version:
python scripts/invoke.py 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! Have fun!
''' '''
) )

View File

@ -80,7 +80,7 @@ call conda activate
@rem create the environment @rem create the environment
call conda env remove -n invokeai 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 call conda env create
if "%ERRORLEVEL%" NEQ "0" ( if "%ERRORLEVEL%" NEQ "0" (
echo "" echo ""
@ -92,8 +92,8 @@ if "%ERRORLEVEL%" NEQ "0" (
exit /b exit /b
) )
cp source_installer/install.bat install.bat copy source_installer/install.bat install.bat
cp source_installer/update.bat update.bat copy source_installer/update.bat update.bat
call conda activate invokeai call conda activate invokeai
@rem preload the models @rem preload the models