mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
Resolved model download error
If previously there were a "models" folder, it would just close the install.bat window and wouldn't continue, so I removed the "else ()" and added a "IF NOT EXIST models/gpt4all-lora-quantized-ggml.bin" if the user already had the model manually downloaded
This commit is contained in:
parent
dc6685d16b
commit
e11128ba73
@ -127,8 +127,10 @@ if %ERRORLEVEL% neq 0 (
|
||||
echo Downloading latest model
|
||||
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'"
|
||||
)
|
||||
IF NOT EXIST models/gpt4all-lora-quantized-ggml.bin (
|
||||
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
|
||||
rd /s /q "./tmp"
|
||||
|
Loading…
Reference in New Issue
Block a user