mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-23 13:50:25 +01:00
Allow using Jupyter inside the KoboldAI environment
Not used by the game, but can be useful for running and troubleshooting notebook features.
This commit is contained in:
parent
a0ed12a74a
commit
9760c159fd
20
notebook.bat
Normal file
20
notebook.bat
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
@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
|
Loading…
Reference in New Issue
Block a user