Portability bugfix

KoboldAI's runtime breaks if you move it because of an incorrect cd command
This commit is contained in:
henk717 2021-09-21 23:57:34 +02:00 committed by GitHub
parent a454e7547f
commit b79e79905b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ subst K: /D >nul
mkdir miniconda3
subst K: miniconda3
copy umamba.exe K:\umamba.exe
cd K:
K:
umamba.exe create -r K:\python\ -n base
IF %B%==1 umamba.exe install --no-shortcuts -r K:\python\ -n base -f "%~dp0\environments\finetuneanon.yml" -y
IF %B%==2 umamba.exe install --no-shortcuts -r K:\python\ -n base -f "%~dp0\environments\huggingface.yml" -y