fixed install scripts

This commit is contained in:
Saifeddine ALOUI 2023-04-22 19:35:50 +02:00
parent 147f616270
commit 95c1e24d9b
2 changed files with 4 additions and 10 deletions

View File

@ -84,12 +84,8 @@ goto :GET_PERSONALITIES
:CLONE_REPO
echo Cloning repository...
git init
git remote add origin https://github.com/nomic-ai/gpt4all-ui.git
git fetch
git reset origin/main
git checkout -t origin/main
git pull origin main
git clone https://github.com/nomic-ai/gpt4all-ui.git .
git pull
goto :GET_PERSONALITIES
:GET_PERSONALITIES

View File

@ -58,10 +58,8 @@ echo Pulling latest changes
git pull origin main
else
echo Cloning repository...
git init
git remote add origin https://github.com/nomic-ai/gpt4all-ui.git
git pull origin main
git clone https://github.com/nomic-ai/gpt4all-ui.git .
git pull
fi
# Download latest personalities