check wget dependency

This commit is contained in:
ivan 2023-04-06 22:19:13 -03:00
parent ec36fccc18
commit 3841792b8e

View File

@ -98,6 +98,11 @@ fi
echo Downloading latest model
wget -P model/ 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."
echo "Every thing is setup. Just run run.sh"