KoboldAI-Client/Jupyter.bat

29 lines
712 B
Batchfile
Raw Normal View History

@echo off
cd %~dp0
TITLE Jupyter for KoboldAI Runtime
SET /P M=<loader.settings
IF %M%==1 GOTO drivemap
IF %M%==2 GOTO subfolder
IF %M%==3 GOTO drivemap_B
:subfolder
2022-05-11 01:31:12 +02:00
umamba.exe install --no-shortcuts -r miniconda3 -n base -c conda-forge jupyterlab jupyterlab-git
call miniconda3\condabin\activate
2022-05-09 02:41:00 +02:00
jupyter-lab
cmd /k
:drivemap
subst K: miniconda3 >nul
2022-05-11 01:31:12 +02:00
umamba.exe install --no-shortcuts -r K:\python\ -n base -c conda-forge jupyterlab jupyterlab-git
call K:\python\condabin\activate
2022-05-09 02:41:00 +02:00
jupyter-lab
subst K: /D
cmd /k
:drivemap_B
subst B: miniconda3 >nul
2022-05-11 01:31:12 +02:00
umamba.exe install --no-shortcuts -r B:\python\ -n base -c conda-forge jupyterlab jupyterlab-git
call B:\python\condabin\activate
2022-05-09 02:41:00 +02:00
jupyter-lab
subst B: /D
cmd /k