mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-05-01 11:41:24 +00:00
18
Launcher.bat
18
Launcher.bat
@@ -221,24 +221,26 @@ call conda activate extras
|
|||||||
REM Start SillyTavern Extras with desired configurations
|
REM Start SillyTavern Extras with desired configurations
|
||||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Extras launched in a new window.
|
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Extras launched in a new window.
|
||||||
|
|
||||||
@REM read modules.txt and find the start_command line
|
@REM echo "Getting start command from modules.txt"
|
||||||
|
|
||||||
|
@REM @REM read modules.txt and find the start_command line
|
||||||
for /F "tokens=*" %%a in ('findstr /I "start_command=" %modules_path%') do (
|
for /F "tokens=*" %%a in ('findstr /I "start_command=" %modules_path%') do (
|
||||||
set "start_command=%%a"
|
set start_command=%%a
|
||||||
)
|
)
|
||||||
echo "starting with command = %start_command%"
|
|
||||||
|
|
||||||
|
set start_command=%start_command:start_command=%
|
||||||
start cmd /k "title SillyTavern Extras && cd /d %~dp0SillyTavern-extras && %start_command%"
|
start cmd /k "title SillyTavern Extras && cd /d %~dp0SillyTavern-extras && %start_command%"
|
||||||
|
|
||||||
@REM start cmd /k "title SillyTavern Extras && cd /d %~dp0SillyTavern-extras && python server.py --rvc-save-file --cuda-device=0 --max-content-length=1000 --enable-modules=talkinghead,chromadb,caption,summarize,rvc"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
REM Activate the xtts environment
|
REM Activate the xtts environment
|
||||||
call conda activate xtts
|
call conda activate xtts
|
||||||
|
|
||||||
REM Start XTTS
|
REM Start XTTS
|
||||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% XTTS launched in a new window.
|
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% XTTS launched in a new window.
|
||||||
start cmd /k "title XTTSv2 API Server && cd /d %~dp0xtts && python -m xtts_api_server"
|
start cmd /k "title XTTSv2 API Server && cd /d %~dp0xtts && python -m xtts_api_server"
|
||||||
|
|
||||||
|
echo Debug Pause
|
||||||
|
pause
|
||||||
|
|
||||||
goto :home
|
goto :home
|
||||||
|
|
||||||
@REM end of start_st_extras
|
@REM end of start_st_extras
|
||||||
@@ -768,7 +770,7 @@ REM remove modules_enable
|
|||||||
set "modules_enable="
|
set "modules_enable="
|
||||||
|
|
||||||
REM Compile the Python command
|
REM Compile the Python command
|
||||||
set "python_command=/k python server.py"
|
set "python_command=python server.py"
|
||||||
if "%xtts_trigger%"=="true" (
|
if "%xtts_trigger%"=="true" (
|
||||||
set "python_command=%python_command% --gpu 0 --cuda-device=0 "
|
set "python_command=%python_command% --gpu 0 --cuda-device=0 "
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user