mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
51c283ba56
- 'install'/'invoke' scripts: use venv 'activate' script - 'setup.py': - make 'install_requires" accurate - add more details for eventual use in pypi - 'invoke' scripts: "developer" console invocation simplified/better logging - requirements: - move 'clipseg' package out of installer and into requirements where it should be - bump/pin 'accelerate' package to 0.14.0 to bypass torch 1.13 SIGKILL issue on Windows (prep for when we decide to upgrade) - 'requirements.in': pin torch as well to reduce pip-compile's confusion - notebooks: delete unused/deprecated notebook installer Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
31 lines
746 B
Batchfile
31 lines
746 B
Batchfile
@echo off
|
|
|
|
call .venv\Scripts\activate.bat
|
|
|
|
echo Do you want to generate images using the
|
|
echo 1. command-line
|
|
echo 2. browser-based UI
|
|
echo 3. open the developer console
|
|
set /P restore="Please enter 1, 2 or 3: "
|
|
IF /I "%restore%" == "1" (
|
|
echo Starting the InvokeAI command-line..
|
|
.venv\Scripts\python scripts\invoke.py
|
|
) ELSE IF /I "%restore%" == "2" (
|
|
echo Starting the InvokeAI browser-based UI..
|
|
.venv\Scripts\python scripts\invoke.py --web
|
|
) ELSE IF /I "%restore%" == "3" (
|
|
echo Developer Console
|
|
echo 'python' command is:
|
|
where python
|
|
echo 'python' version is:
|
|
python --version
|
|
echo Type 'exit' to quit this shell
|
|
call cmd
|
|
) ELSE (
|
|
echo Invalid selection
|
|
pause
|
|
exit /b
|
|
)
|
|
|
|
deactivate
|