From 07ba3c564aa9e8ce57f38ce17d42beabeca5f355 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 7 Apr 2023 09:07:59 +0200 Subject: [PATCH] Now the models folder is checked before downloading If the models folder does not exist create it --- install.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.bat b/install.bat index 9ad8e657..f034f479 100644 --- a/install.bat +++ b/install.bat @@ -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