Update install.3.10.sh to wget the model

This commit is contained in:
Dennis Stanistan 2023-04-07 07:31:25 +03:00 committed by GitHub
parent 3b3bfc6fd4
commit 20e86d7dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,5 +59,12 @@ if [ $? -ne 0 ]; then
exit 1
fi
echo Downloading latest model
wget -P models/ https://the-eye.eu/public/AI/models/nomic-ai/gpt4all/gpt4all-lora-quantized-ggml.bin
if [ $? -ne 0 ]; then
echo "Failed to download model. Please check your `wget` dependency, internet connection and try again."
exit 1
fi
echo "Virtual environment created and packages installed successfully."
exit 0