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
|
:NO_INTERNET
|
||||||
|
|
||||||
if exist GPT4All (
|
if exist lollms-webui (
|
||||||
echo GPT4All folder found
|
echo lollms-webui folder found
|
||||||
cd GPT4All
|
cd lollms-webui
|
||||||
set /p="Activating virtual environment ..." <nul
|
set /p="Activating virtual environment ..." <nul
|
||||||
call env\Scripts\activate.bat
|
call env\Scripts\activate.bat
|
||||||
)
|
)
|
||||||
@ -108,16 +108,16 @@ goto :CHECK_PYTHON_INSTALL
|
|||||||
|
|
||||||
:CLONE_REPO
|
:CLONE_REPO
|
||||||
REM Check if repository exists
|
REM Check if repository exists
|
||||||
if exist GPT4All (
|
if exist lollms-webui (
|
||||||
echo GPT4All folder found
|
echo lollms-webui folder found
|
||||||
cd GPT4All
|
cd lollms-webui
|
||||||
echo Pulling latest changes
|
echo Pulling latest changes
|
||||||
git pull
|
git pull
|
||||||
) else (
|
) else (
|
||||||
echo Cloning repository...
|
echo Cloning repository...
|
||||||
rem Clone the Git repository into a temporary directory
|
rem Clone the Git repository into a temporary directory
|
||||||
git clone https://github.com/ParisNeo/lollms-webui.git ./GPT4All
|
git clone https://github.com/ParisNeo/lollms-webui.git ./lollms-webui
|
||||||
cd GPT4All
|
cd lollms-webui
|
||||||
echo Pulling latest changes
|
echo Pulling latest changes
|
||||||
git pull
|
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
|
echo Pulling latest changes
|
||||||
git pull origin main
|
git pull origin main
|
||||||
else
|
else
|
||||||
if [[ -d GPT4All ]] ;then
|
if [[ -d lollms-webui ]] ;then
|
||||||
cd GPT4All
|
cd lollms-webui
|
||||||
else
|
else
|
||||||
echo Cloning repository...
|
echo Cloning repository...
|
||||||
rem Clone the Git repository into a temporary directory
|
rem Clone the Git repository into a temporary directory
|
||||||
git clone https://github.com/ParisNeo/lollms-webui.git ./GPT4All
|
git clone https://github.com/ParisNeo/lollms-webui.git ./lollms-webui
|
||||||
cd GPT4All
|
cd lollms-webui
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo Pulling latest version...
|
echo Pulling latest version...
|
||||||
|
Loading…
Reference in New Issue
Block a user