2021-08-19 16:20:41 +02:00
|
|
|
@echo off
|
|
|
|
cd %~dp0
|
|
|
|
TITLE Jupyter for KoboldAI Runtime
|
|
|
|
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-08-19 16:20:41 +02:00
|
|
|
|
|
|
|
:subfolder
|
|
|
|
umamba.exe install --no-shortcuts -r miniconda3 -n base -c conda-forge jupyter
|
|
|
|
call miniconda3\condabin\activate
|
|
|
|
jupyter notebook
|
|
|
|
cmd /k
|
|
|
|
|
|
|
|
:drivemap
|
|
|
|
subst K: miniconda3 >nul
|
|
|
|
umamba.exe install --no-shortcuts -r K:\python\ -n base -c conda-forge jupyter
|
|
|
|
call K:\python\condabin\activate
|
|
|
|
jupyter notebook
|
|
|
|
subst K: /D
|
2022-01-13 23:52:21 +01:00
|
|
|
cmd /k
|
|
|
|
|
|
|
|
:drivemap_B
|
|
|
|
subst B: miniconda3 >nul
|
|
|
|
umamba.exe install --no-shortcuts -r B:\python\ -n base -c conda-forge jupyter
|
|
|
|
call B:\python\condabin\activate
|
|
|
|
jupyter notebook
|
|
|
|
subst B: /D
|
2021-08-19 16:20:41 +02:00
|
|
|
cmd /k
|