Merge pull request #17 from DennisStanistan/main

Update install.3.10.sh to wget the model
This commit is contained in:
Saifeddine ALOUI 2023-04-07 07:20:27 +02:00 committed by GitHub
commit 00039f3d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

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

2
run.sh
View File

@ -37,7 +37,7 @@ echo HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
# Activate the virtual environment
source venv/bin/activate
source env/bin/activate
# Launch the Python application
python app.py