mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-27 21:45:28 +08:00
Fix Bugs
This commit is contained in:
parent
982dd5c35c
commit
76a20109bf
4
.github/workflows/docker-publish.yaml
vendored
4
.github/workflows/docker-publish.yaml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
USE_FUNASR=true
|
USE_FUNASR=true
|
||||||
USE_FASTERWHISPER=false
|
USE_FASTERWHISPER=false
|
||||||
CUDA_VERSION=12.4
|
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: |
|
tags: |
|
||||||
xxxxrt666/gpt-sovits:lite-cu124-${{ steps.meta.outputs.tag }}
|
xxxxrt666/gpt-sovits:lite-cu124-${{ steps.meta.outputs.tag }}
|
||||||
xxxxrt666/gpt-sovits:latest-lite
|
xxxxrt666/gpt-sovits:latest-lite
|
||||||
@ -54,7 +54,7 @@ jobs:
|
|||||||
USE_FUNASR=true
|
USE_FUNASR=true
|
||||||
USE_FASTERWHISPER=true
|
USE_FASTERWHISPER=true
|
||||||
CUDA_VERSION=12.4
|
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: |
|
tags: |
|
||||||
xxxxrt666/gpt-sovits:cu124-${{ steps.meta.outputs.tag }}
|
xxxxrt666/gpt-sovits:cu124-${{ steps.meta.outputs.tag }}
|
||||||
xxxxrt666/gpt-sovits:latest
|
xxxxrt666/gpt-sovits:latest
|
||||||
|
10
Dockerfile
10
Dockerfile
@ -28,15 +28,7 @@ WORKDIR /workspace/GPT-SoVITS
|
|||||||
|
|
||||||
COPY . /workspace/GPT-SoVITS
|
COPY . /workspace/GPT-SoVITS
|
||||||
|
|
||||||
ARG WGET_SHOW_PROGRESS=1
|
ARG WGET_CMD="wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
|
||||||
|
|
||||||
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)
|
|
||||||
|
|
||||||
RUN eval "$WGET_CMD -O anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh" && \
|
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 && \
|
bash anaconda.sh -b -p /root/anaconda3 && \
|
||||||
|
@ -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"
|
UVR5_URL="https://www.modelscope.cn/models/XXXXRT/GPT-SoVITS-Pretrained/resolve/master/uvr5_weights.zip"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$WGET_SHOW_PROGRESS" = "0" ]; then
|
WGET_CMD="${WGET_CMD:-wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404}"
|
||||||
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
|
if find "GPT_SoVITS/pretrained_models" -mindepth 1 ! -name '.gitignore' | grep -q .; then
|
||||||
echo "Pretrained Model Exists"
|
echo "Pretrained Model Exists"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user