29 lines
712 B
Batchfile
29 lines
712 B
Batchfile
@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
|
|
umamba.exe install --no-shortcuts -r miniconda3 -n base -c conda-forge jupyterlab jupyterlab-git
|
|
call miniconda3\condabin\activate
|
|
jupyter-lab
|
|
cmd /k
|
|
|
|
:drivemap
|
|
subst K: miniconda3 >nul
|
|
umamba.exe install --no-shortcuts -r K:\python\ -n base -c conda-forge jupyterlab jupyterlab-git
|
|
call K:\python\condabin\activate
|
|
jupyter-lab
|
|
subst K: /D
|
|
cmd /k
|
|
|
|
:drivemap_B
|
|
subst B: miniconda3 >nul
|
|
umamba.exe install --no-shortcuts -r B:\python\ -n base -c conda-forge jupyterlab jupyterlab-git
|
|
call B:\python\condabin\activate
|
|
jupyter-lab
|
|
subst B: /D
|
|
cmd /k |