Files
SillyTavern-Launcher/bin/functions/Toolbox/App_Launcher/Image_Generation/start_invokeai.bat
deffcolony 3cee65e6bd fixes invokeai launch
+removed python run command since it works with invokeai-web command only
2024-12-22 02:06:47 +01:00

18 lines
546 B
Batchfile

@echo off
REM Check if the folder exists
if not exist "%invokeai_install_path%" (
echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] Directory:%reset% %red_bg% %invokeai_install_path% %reset% %red_fg_strong%not found.%reset%
pause
exit /b 1
)
:start_invokeai
REM Activate the invokeai environment
call conda activate invokeai
REM Start InvokeAI
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% InvokeAI launched in a new window.
start cmd /k "title InvokeAI && cd /d %invokeai_install_path% && invokeai-web"
goto :home