2021-06-06 15:02:03 +02:00
|
|
|
@echo off
|
2021-06-28 22:35:15 +02:00
|
|
|
cd %~dp0
|
2021-09-18 21:50:23 +02:00
|
|
|
TITLE KoboldAI - Server
|
2021-06-28 22:35:15 +02:00
|
|
|
SET /P M=<loader.settings
|
|
|
|
IF %M%==1 GOTO drivemap
|
|
|
|
IF %M%==2 GOTO subfolder
|
|
|
|
|
|
|
|
:subfolder
|
2021-06-06 15:02:03 +02:00
|
|
|
call miniconda3\condabin\activate
|
2021-08-20 00:37:59 +02:00
|
|
|
python aiserver.py %*
|
2021-06-06 15:02:03 +02:00
|
|
|
cmd /k
|
2021-06-28 22:35:15 +02:00
|
|
|
|
|
|
|
:drivemap
|
|
|
|
subst K: miniconda3 >nul
|
|
|
|
call K:\python\condabin\activate
|
2021-08-20 00:37:59 +02:00
|
|
|
python aiserver.py %*
|
2021-06-28 22:35:15 +02:00
|
|
|
subst K: /D
|
|
|
|
cmd /k
|