mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
26 lines
646 B
Batchfile
26 lines
646 B
Batchfile
@echo off
|
|
|
|
set PATH=c:\windows\system32
|
|
set PATH=.venv\Scripts;%PATH%
|
|
|
|
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
|
|
.venv\Scripts\python
|
|
cmd /k
|
|
) ELSE (
|
|
echo Invalid selection
|
|
pause
|
|
exit /b
|
|
)
|