Skip to content

Commit 6f1df37

Browse files
committed
add unzip
1 parent 8c78024 commit 6f1df37

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN chmod 777 -R /tmp && apt-get update && DEBIAN_FRONTEND=noninteractive apt-ge
1515
g++ \
1616
make \
1717
git \
18-
ffmpeg && \
18+
ffmpeg \
19+
unzip && \
1920
rm -rf /var/lib/apt/lists/*
2021

2122
RUN case ${TARGETPLATFORM} in \
@@ -39,3 +40,7 @@ RUN pip install -r /lighttts/requirements.txt --no-cache-dir
3940

4041
COPY . /lighttts
4142
WORKDIR /lighttts
43+
RUN cd pretrained_models/CosyVoice-ttsfrd/ && \
44+
unzip resource.zip -d . && \
45+
pip install ttsfrd_dependency-0.1-py3-none-any.whl && \
46+
pip install ttsfrd-0.4.2-cp310-cp310-linux_x86_64.whl

0 commit comments

Comments
 (0)