KoboldAI-Client/commandline.bat

15 lines
253 B
Batchfile

@echo off
cd %~dp0
TITLE CMD for KoboldAI Runtime
SET /P M=<loader.settings
IF %M%==1 GOTO drivemap
IF %M%==2 GOTO subfolder
:subfolder
call miniconda3\condabin\activate
cmd /k
:drivemap
subst K: miniconda3 >nul
call K:\python\condabin\activate
cmd /k