20 lines
461 B
Batchfile
20 lines
461 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
|
||
|
|
||
|
: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
|
||
|
cmd /k
|