update conda

This commit is contained in:
XXXXRT666 2025-04-30 22:33:23 +01:00
parent 41142a6234
commit 559dbfc711
2 changed files with 6 additions and 2 deletions

View File

@ -52,7 +52,7 @@ conda config --add channels conda-forge
conda config --set channel_priority strict
conda update -n base -c conda-forge conda -y
conda install -n base -c conda-forge conda=25.3.1
if [ "$LITE" = "true" ]; then
bash install.sh --device "CU${CUDA_VERSION//./}" --source HF

View File

@ -154,7 +154,11 @@ elif [ "$USE_MODELSCOPE" = "true" ]; then
UVR5_URL="https://www.modelscope.cn/models/XXXXRT/GPT-SoVITS-Pretrained/resolve/master/uvr5_weights.zip"
fi
WGET_CMD="${WGET_CMD:-wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404}"
if [ "$WORKFLOW" = "true" ]; then
WGET_CMD="wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
else
WGET_CMD="wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
fi
if find "GPT_SoVITS/pretrained_models" -mindepth 1 ! -name '.gitignore' | grep -q .; then
echo "Pretrained Model Exists"