update README

This commit is contained in:
2025-09-10 11:06:39 +08:00
parent 1df95ad2f6
commit 598213f466
11 changed files with 135 additions and 53 deletions

View File

@@ -13,7 +13,5 @@ COPY constraints_gsv.txt /workspace/
RUN pip install -r GPT-SoVITS/extra-req.txt --no-deps \
&& pip install -r GPT-SoVITS/requirements.txt -c constraints_gsv.txt
#COPY launch_gsv.sh /workspace/
#ENTRYPOINT ["/bin/bash", "launch_gsv.sh"]
COPY launch.sh /workspace/
ENTRYPOINT ["/bin/bash", "launch.sh"]
COPY launch_gsv.sh /workspace/
ENTRYPOINT ["/bin/bash", "launch_gsv.sh"]

View File

@@ -1,17 +0,0 @@
#!/bin/bash
redis-server --daemonize yes
if [ -z "$MODEL_DIR" ]; then
export MODEL_DIR="/models/GPT-SoVITS"
fi
if [ -z "$NLTK_DATA" ]; then
export NLTK_DATA="/models/GPT-SoVITS/nltk_data"
fi
if [ -z "$bert_path" ]; then
export bert_path="${MODEL_DIR}/chinese-roberta-wwm-ext-large"
fi
cd GPT-SoVITS && python3 gsv_server.py