mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 21:03:07 +00:00
updated code
This commit is contained in:
parent
aee0358a96
commit
feade2d882
16
webui.bat
16
webui.bat
@ -46,9 +46,9 @@ if errorlevel 1 (
|
||||
)
|
||||
:NO_INTERNET
|
||||
|
||||
if exist GPT4All (
|
||||
echo GPT4All folder found
|
||||
cd GPT4All
|
||||
if exist lollms-webui (
|
||||
echo lollms-webui folder found
|
||||
cd lollms-webui
|
||||
set /p="Activating virtual environment ..." <nul
|
||||
call env\Scripts\activate.bat
|
||||
)
|
||||
@ -108,16 +108,16 @@ goto :CHECK_PYTHON_INSTALL
|
||||
|
||||
:CLONE_REPO
|
||||
REM Check if repository exists
|
||||
if exist GPT4All (
|
||||
echo GPT4All folder found
|
||||
cd GPT4All
|
||||
if exist lollms-webui (
|
||||
echo lollms-webui folder found
|
||||
cd lollms-webui
|
||||
echo Pulling latest changes
|
||||
git pull
|
||||
) else (
|
||||
echo Cloning repository...
|
||||
rem Clone the Git repository into a temporary directory
|
||||
git clone https://github.com/ParisNeo/lollms-webui.git ./GPT4All
|
||||
cd GPT4All
|
||||
git clone https://github.com/ParisNeo/lollms-webui.git ./lollms-webui
|
||||
cd lollms-webui
|
||||
echo Pulling latest changes
|
||||
git pull
|
||||
)
|
||||
|
8
webui.sh
8
webui.sh
@ -57,13 +57,13 @@ if ping -q -c 1 google.com >/dev/null 2>&1; then
|
||||
echo Pulling latest changes
|
||||
git pull origin main
|
||||
else
|
||||
if [[ -d GPT4All ]] ;then
|
||||
cd GPT4All
|
||||
if [[ -d lollms-webui ]] ;then
|
||||
cd lollms-webui
|
||||
else
|
||||
echo Cloning repository...
|
||||
rem Clone the Git repository into a temporary directory
|
||||
git clone https://github.com/ParisNeo/lollms-webui.git ./GPT4All
|
||||
cd GPT4All
|
||||
git clone https://github.com/ParisNeo/lollms-webui.git ./lollms-webui
|
||||
cd lollms-webui
|
||||
fi
|
||||
fi
|
||||
echo Pulling latest version...
|
||||
|
Loading…
Reference in New Issue
Block a user