fixed some bugs

This commit is contained in:
Saifeddine ALOUI 2024-01-06 12:27:15 +01:00
parent 1fd04257f9
commit ad703e89ad

View File

@ -92,9 +92,6 @@ source activate "$INSTALL_ENV_DIR" || ( echo && echo "Conda environment activati
# Set default cuda toolkit to the one in the environment
export CUDA_PATH="$INSTALL_ENV_DIR"
pwd
pause
# Clone the repository
if [ -d "lollms-webui" ]; then
@ -111,22 +108,12 @@ if [ -d "lollms-webui" ]; then
else
git clone --depth 1 --recurse-submodules "$REPO_URL"
git submodule update --init --recursive
pwd
pause
cd lollms-webui/lollms_core
pwd
pause
pip install -e .
pwd
pause
cd ..
cd utilities/safe_store
pwd
pause
pip install -e .
cd ../..
pwd
pause
fi
# Loop through each "git+" requirement and uninstall it (workaround for inconsistent git package updating)