CosyVoice commited on
Commit
aa9409f
1 Parent(s): 417645c

add disclaimer

Browse files
README.md CHANGED
@@ -142,4 +142,7 @@ You can also scan the QR code to join our officla Dingding chat group.
142
 
143
  1. We borrowed a lot of code from [Matcha-TTS](https://github.com/shivammehta25/Matcha-TTS).
144
  2. We borrowed a lot of code from [AcademiCodec](https://github.com/yangdongchao/AcademiCodec).
145
- 3. We borrowed a lot of code from [WeNet](https://github.com/wenet-e2e/wenet).
 
 
 
 
142
 
143
  1. We borrowed a lot of code from [Matcha-TTS](https://github.com/shivammehta25/Matcha-TTS).
144
  2. We borrowed a lot of code from [AcademiCodec](https://github.com/yangdongchao/AcademiCodec).
145
+ 3. We borrowed a lot of code from [WeNet](https://github.com/wenet-e2e/wenet).
146
+
147
+ ## Disclaimer
148
+ The content provided above is for academic purposes only and is intended to demonstrate technical capabilities. Some examples are sourced from the internet. If any content infringes on your rights, please contact us to request its removal.
runtime/python/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
2
  ENV DEBIAN_FRONTEND=noninteractive
3
 
4
  WORKDIR /opt/CosyVoice
@@ -6,10 +6,7 @@ WORKDIR /opt/CosyVoice
6
  RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
7
  RUN apt-get update -y
8
  RUN apt-get -y install python3-dev cmake python3-pip git
9
- # install torch takes a long time, cache it in case we may change requirements.txt
10
- # RUN git clone --depth 1 https://github.com/FunAudioLLM/CosyVoice.git
11
- ADD CosyVoice.tar .
12
- RUN mv CosyVoice_dockerfile CosyVoice
13
  RUN cd CosyVoice && pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
14
  RUN cd CosyVoice/runtime/python && python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. cosyvoice.proto
15
  CMD ["/bin/bash", "-c", "cd /opt/CosyVoice/CosyVoice/runtime/python && . ./path/sh && python3 server.py --port 50000 --max_conc 4 --model_dir speech_tts/CosyVoice-300M && sleep infinity"]
 
1
+ FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu20.04
2
  ENV DEBIAN_FRONTEND=noninteractive
3
 
4
  WORKDIR /opt/CosyVoice
 
6
  RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
7
  RUN apt-get update -y
8
  RUN apt-get -y install python3-dev cmake python3-pip git
9
+ RUN git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
 
 
 
10
  RUN cd CosyVoice && pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
11
  RUN cd CosyVoice/runtime/python && python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. cosyvoice.proto
12
  CMD ["/bin/bash", "-c", "cd /opt/CosyVoice/CosyVoice/runtime/python && . ./path/sh && python3 server.py --port 50000 --max_conc 4 --model_dir speech_tts/CosyVoice-300M && sleep infinity"]
runtime/python/cosyvoice.proto CHANGED
@@ -1,16 +1,3 @@
1
- # Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu)
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
  syntax = "proto3";
15
 
16
  package cosyvoice;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  syntax = "proto3";
2
 
3
  package cosyvoice;