mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
upgraded
This commit is contained in:
parent
bb1e8f51de
commit
c44ff99d7b
@ -1 +1 @@
|
||||
Subproject commit e77c97f2384e97de974cba4c580511b88ae71d2a
|
||||
Subproject commit de5e73c90f8b4bac5a636a8cb51a80902b2da4b4
|
@ -46,6 +46,11 @@ if __name__ == "__main__":
|
||||
LOLLMSWebUI.build_instance(config=config, lollms_paths=lollms_paths, socketio=sio)
|
||||
|
||||
# Import all endpoints
|
||||
from lollms.server.endpoints.lollms_infos import router
|
||||
from lollms.server.endpoints.lollms_infos import router as lollms_infos_router
|
||||
from lollms.server.endpoints.lollms_generator import router as lollms_generator_router
|
||||
|
||||
app.include_router(lollms_infos_router)
|
||||
app.include_router(lollms_generator_router)
|
||||
|
||||
|
||||
uvicorn.run(app, host=config.host, port=config.port)
|
@ -35,7 +35,7 @@ if [[ "$PWD" =~ [^#\$\%\&\(\)\*\+\] ]]; then
|
||||
fi
|
||||
|
||||
|
||||
export PACKAGES_TO_INSTALL=python=3.11 git
|
||||
export PACKAGES_TO_INSTALL=python=3.11 git pip
|
||||
read -rp "Press Enter to continue..."
|
||||
|
||||
clear
|
||||
@ -101,19 +101,19 @@ if [ -d "lollms-webui" ]; then
|
||||
cd lollms-core
|
||||
pip install -e .
|
||||
cd ..
|
||||
cd utilities\safe_store
|
||||
cd utilities/safe_store
|
||||
pip install -e .
|
||||
cd ..\..
|
||||
cd ../..
|
||||
|
||||
else
|
||||
git clone --depth 1 --recurse-submodules "$REPO_URL"
|
||||
git submodule update --init --recursive
|
||||
cd lollms-webui\lollms_core
|
||||
cd lollms-webui/lollms_core
|
||||
pip install -e .
|
||||
cd ..
|
||||
cd utilities\safe_store
|
||||
cd utilities/safe_store
|
||||
pip install -e .
|
||||
cd ..\..
|
||||
cd ../..
|
||||
|
||||
cd lollms-webui || exit 1
|
||||
fi
|
||||
|
@ -39,7 +39,7 @@ read -rp "Press Enter to continue..."
|
||||
clear
|
||||
|
||||
|
||||
export PACKAGES_TO_INSTALL=python=3.11 git
|
||||
export PACKAGES_TO_INSTALL=python=3.11 git pip
|
||||
|
||||
echo "Installing gcc..."
|
||||
brew install gcc
|
||||
@ -108,19 +108,19 @@ if [ -d "lollms-webui" ]; then
|
||||
cd lollms-core
|
||||
pip install -e .
|
||||
cd ..
|
||||
cd utilities\safe_store
|
||||
cd utilities/safe_store
|
||||
pip install -e .
|
||||
cd ..\..
|
||||
cd ../..
|
||||
|
||||
else
|
||||
git clone --depth 1 --recurse-submodules "$REPO_URL"
|
||||
git submodule update --init --recursive
|
||||
cd lollms-webui\lollms_core
|
||||
cd lollms-webui/lollms_core
|
||||
pip install -e .
|
||||
cd ..
|
||||
cd utilities\safe_store
|
||||
cd utilities/safe_store
|
||||
pip install -e .
|
||||
cd ..\..
|
||||
cd ../..
|
||||
|
||||
cd lollms-webui || exit 1
|
||||
fi
|
||||
|
@ -50,7 +50,7 @@ set INSTALL_ENV_DIR=%cd%\installer_files\lollms_env
|
||||
set MINICONDA_DOWNLOAD_URL=https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
|
||||
set REPO_URL=https://github.com/ParisNeo/lollms-webui.git
|
||||
|
||||
set "PACKAGES_TO_INSTALL=python=3.11 git"
|
||||
set "PACKAGES_TO_INSTALL=python=3.11 git pip"
|
||||
|
||||
if not exist "%MINICONDA_DIR%\Scripts\conda.exe" (
|
||||
@rem download miniconda
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 1194248d00606c69f9edb5d2b5fcf12c5fe23ee9
|
||||
Subproject commit f8ba27ca727f905618bc044ab45f62889e41b668
|
Loading…
Reference in New Issue
Block a user