mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-04-07 19:04:18 +00:00
more work
This commit is contained in:
parent
ea3d749aaf
commit
8bfad7002f
1
tmpllama.cpp
Submodule
1
tmpllama.cpp
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 42747220b4cac548b6e3059b66b3e960b517cfa4
|
53
webui.sh
53
webui.sh
@ -36,3 +36,56 @@ echo "HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
|
||||
echo "HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH"
|
||||
|
||||
|
||||
|
||||
# Install git
|
||||
echo -n "Checking for Git..."
|
||||
if command -v git > /dev/null 2>&1; then
|
||||
echo "is installed"
|
||||
else
|
||||
read -p "Git is not installed. Would you like to install Git? [Y/N] " choice
|
||||
if [ "$choice" = "Y" ] || [ "$choice" = "y" ]; then
|
||||
echo "Installing Git..."
|
||||
sudo apt update
|
||||
sudo apt install -y git
|
||||
else
|
||||
echo "Please install Git and try again."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Check if repository exists
|
||||
if [[ -d .git ]] ;then
|
||||
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 fetch
|
||||
##git reset origin/main
|
||||
##git checkout -t origin/main
|
||||
##git pull origin main
|
||||
|
||||
fi
|
||||
|
||||
# Download latest personalities
|
||||
if ! test -d ./tmp/personalities; then
|
||||
## git clone https://github.com/ParisNeo/GPT4All_Personalities.git ./tmp/personalities
|
||||
fi
|
||||
##cp ./tmp/personalities/* ./personalities/
|
||||
|
||||
# Install Python 3.10 and pip
|
||||
echo -n "Checking for python3.10..."
|
||||
if command -v python3.10 > /dev/null 2>&1; then
|
||||
echo "is installed"
|
||||
else
|
||||
read -p "Python3.10 is not installed. Would you like to install Python3.10? [Y/N] " choice
|
||||
if [ "$choice" = "Y" ] || [ "$choice" = "y" ]; then
|
||||
echo "Installing Python3.10..."
|
||||
sudo apt update
|
||||
sudo apt install -y python3.10 python3.10-venv
|
||||
else
|
||||
echo "Please install Python3.10 and try again."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user