Now the models folder is checked before downloading

If the models folder does not exist create it
This commit is contained in:
Saifeddine ALOUI 2023-04-07 09:07:59 +02:00 committed by GitHub
parent dde07f7144
commit 07ba3c564a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,9 @@ if .ERRORLEVEL. neq 0 (
)
echo Downloading latest model
md models
IF NOT EXIST models (
md models
) else ()
powershell -Command "Invoke-WebRequest -Uri 'https://the-eye.eu/public/AI/models/nomic-ai/gpt4all/gpt4all-lora-quantized-ggml.bin' -OutFile 'models/gpt4all-lora-quantized-ggml.bin'"
echo Cleaning tmp folder