2021-06-06 15:02:03 +02:00
|
|
|
@echo off
|
2021-12-22 21:56:57 +01:00
|
|
|
cd /D %~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
|
2022-01-13 23:52:21 +01:00
|
|
|
IF %M%==3 GOTO drivemap_B
|
2021-06-28 22:35:15 +02:00
|
|
|
|
|
|
|
:subfolder
|
2021-12-22 21:56:57 +01:00
|
|
|
ECHO Runtime launching in subfolder mode
|
|
|
|
SET TEMP=%~DP0MINICONDA3
|
|
|
|
SET TMP=%~DP0MINICONDA3
|
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
|
2021-12-22 21:56:57 +01:00
|
|
|
ECHO Runtime launching in K: drive mode
|
2022-04-05 01:52:46 +02:00
|
|
|
subst /D K: >nul
|
2021-06-28 22:35:15 +02:00
|
|
|
subst K: miniconda3 >nul
|
2021-12-22 21:56:57 +01:00
|
|
|
SET TEMP=K:\
|
|
|
|
SET TMP=K:\
|
2021-06-28 22:35:15 +02:00
|
|
|
call K:\python\condabin\activate
|
2021-08-20 00:37:59 +02:00
|
|
|
python aiserver.py %*
|
2021-11-24 08:23:08 +01:00
|
|
|
cmd /k
|
2022-01-13 23:52:21 +01:00
|
|
|
|
|
|
|
:drivemap_B
|
|
|
|
ECHO Runtime launching in B: drive mode
|
2022-04-05 01:52:46 +02:00
|
|
|
subst /D B: >nul
|
2022-01-13 23:52:21 +01:00
|
|
|
subst B: miniconda3 >nul
|
|
|
|
SET TEMP=B:\
|
|
|
|
SET TMP=B:\
|
|
|
|
call B:\python\condabin\activate
|
|
|
|
python aiserver.py %*
|
|
|
|
cmd /k
|