2022-10-12 11:08:06 +00:00
|
|
|
@echo off
|
|
|
|
|
2022-11-10 17:48:14 +00:00
|
|
|
set PATH=c:\windows\system32
|
|
|
|
set PATH=.venv\Scripts;%PATH%
|
2022-10-12 11:08:06 +00:00
|
|
|
|
2022-10-29 15:46:40 +00:00
|
|
|
echo Do you want to generate images using the
|
|
|
|
echo 1. command-line
|
|
|
|
echo 2. browser-based UI
|
2022-10-29 17:56:21 +00:00
|
|
|
echo 3. open the developer console
|
|
|
|
set /P restore="Please enter 1, 2 or 3: "
|
2022-10-29 15:46:40 +00:00
|
|
|
IF /I "%restore%" == "1" (
|
|
|
|
echo Starting the InvokeAI command-line..
|
2022-11-10 17:48:14 +00:00
|
|
|
.venv\Scripts\python scripts\invoke.py
|
2022-10-29 15:46:40 +00:00
|
|
|
) ELSE IF /I "%restore%" == "2" (
|
|
|
|
echo Starting the InvokeAI browser-based UI..
|
2022-11-10 17:48:14 +00:00
|
|
|
.venv\Scripts\python scripts\invoke.py --web
|
2022-10-29 17:56:21 +00:00
|
|
|
) ELSE IF /I "%restore%" == "3" (
|
|
|
|
echo Developer Console
|
2022-11-10 17:48:14 +00:00
|
|
|
.venv\Scripts\python
|
2022-10-29 17:56:21 +00:00
|
|
|
cmd /k
|
2022-10-29 15:46:40 +00:00
|
|
|
) ELSE (
|
|
|
|
echo Invalid selection
|
|
|
|
pause
|
|
|
|
exit /b
|
|
|
|
)
|