This commit is contained in:
XXXXRT666 2025-04-29 19:27:19 +01:00
parent 982dd5c35c
commit 76a20109bf
3 changed files with 4 additions and 16 deletions

View File

@ -37,7 +37,7 @@ jobs:
USE_FUNASR=true
USE_FASTERWHISPER=false
CUDA_VERSION=12.4
WGET_SHOW_PROGRESS=0
WGET_CMD="wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
tags: |
xxxxrt666/gpt-sovits:lite-cu124-${{ steps.meta.outputs.tag }}
xxxxrt666/gpt-sovits:latest-lite
@ -54,7 +54,7 @@ jobs:
USE_FUNASR=true
USE_FASTERWHISPER=true
CUDA_VERSION=12.4
WGET_SHOW_PROGRESS=0
WGET_CMD="wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
tags: |
xxxxrt666/gpt-sovits:cu124-${{ steps.meta.outputs.tag }}
xxxxrt666/gpt-sovits:latest

View File

@ -28,15 +28,7 @@ WORKDIR /workspace/GPT-SoVITS
COPY . /workspace/GPT-SoVITS
ARG WGET_SHOW_PROGRESS=1
RUN if [ "$WGET_SHOW_PROGRESS" = "0" ]; then \
echo 'WGET_CMD=wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404' >> /env.list; \
else \
echo 'WGET_CMD=wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404' >> /env.list; \
fi
ENV $(cat /env.list)
ARG WGET_CMD="wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
RUN eval "$WGET_CMD -O anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh" && \
bash anaconda.sh -b -p /root/anaconda3 && \

View File

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