mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
Update install.bat
The current code assumes that the models directory exists, but this may not always be the case. If the models directory does not exist, the Invoke-WebRequest command fails with a DirectoryNotFoundException error.
This commit is contained in:
parent
00039f3d2a
commit
8a22bc69e6
@ -125,6 +125,7 @@ if .ERRORLEVEL. neq 0 (
|
|||||||
)
|
)
|
||||||
|
|
||||||
echo Downloading latest model
|
echo Downloading latest model
|
||||||
|
md models
|
||||||
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'"
|
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
|
echo Cleaning tmp folder
|
||||||
|
Loading…
Reference in New Issue
Block a user