Skip to content

Commit 8f6fabc

Browse files
committed
new deps
1 parent 862ba65 commit 8f6fabc

File tree

2 files changed

+10
-26
lines changed

2 files changed

+10
-26
lines changed

rvc/Dockerfile

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,48 +3,32 @@
33
FROM nvidia/cuda:11.6.2-cudnn8-runtime-ubuntu20.04
44

55
EXPOSE 7865
6-
76
WORKDIR /app
8-
97
COPY . .
108

11-
# Install dependenceis to add PPAs
9+
# Install dependencies to add PPAs
1210
RUN apt-get update && \
1311
apt-get install -y -qq ffmpeg aria2 && apt clean && \
1412
apt-get install -y software-properties-common && \
1513
apt-get clean && \
1614
rm -rf /var/lib/apt/lists/*
1715

18-
# Add the deadsnakes PPA to get Python 3.9
16+
# Add the deadsnakes PPA to get Python 3.10
1917
RUN add-apt-repository -y ppa:deadsnakes/ppa
2018

21-
# Install Python 3.9 and pip
19+
# Install Python 3.10 and pip
2220
RUN apt-get update && \
23-
apt-get install -y build-essential python-dev python3-dev python3.9-distutils python3.9-dev python3.9 curl && \
21+
apt-get install -y build-essential python-dev python3-dev python3.10-distutils python3.10-dev python3.10 python3.10-venv curl && \
2422
apt-get clean && \
25-
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && \
26-
curl https://bootstrap.pypa.io/get-pip.py | python3.9
23+
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 && \
24+
curl https://bootstrap.pypa.io/get-pip.py | python3.10
2725

28-
# Set Python 3.9 as the default
29-
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1
26+
# Set Python 3.10 as the default
27+
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
3028

3129
RUN python3 -m pip install --upgrade pip==24.0
3230
RUN python3 -m pip install --no-cache-dir -r requirements.txt
3331

34-
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d assets/pretrained_v2/ -o D40k.pth
35-
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d assets/pretrained_v2/ -o G40k.pth
36-
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D40k.pth -d assets/pretrained_v2/ -o f0D40k.pth
37-
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G40k.pth -d assets/pretrained_v2/ -o f0G40k.pth
38-
39-
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2-人声vocals+非人声instrumentals.pth -d assets/uvr5_weights/ -o HP2-人声vocals+非人声instrumentals.pth
40-
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5-主旋律人声vocals+其他instrumentals.pth -d assets/uvr5_weights/ -o HP5-主旋律人声vocals+其他instrumentals.pth
41-
42-
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d assets/hubert -o hubert_base.pt
43-
44-
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt -d assets/rmvpe -o rmvpe.pt
45-
4632
RUN chmod +x /app/scripts/start.sh
47-
4833
VOLUME [ "/app/opt" ]
49-
50-
CMD ["/app/scripts/start.sh"]
34+
CMD ["/app/scripts/start.sh"]

rvc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ ffmpy==0.3.1
4848
python-dotenv>=1.0.0
4949
av
5050
flask==3.0.2
51-
audio-separator==0.8.0
51+
audio-separator==0.30.0
5252
requests==2.31.0
5353
gunicorn>=20.1.0

0 commit comments

Comments
 (0)