Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
dc5eeb8
1
Parent(s):
cad7a5b
replace frd repo
Browse files- app.py +2 -2
- requirements.txt +16 -11
app.py
CHANGED
@@ -53,8 +53,8 @@ sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
|
|
53 |
|
54 |
from huggingface_hub import snapshot_download
|
55 |
snapshot_download('FunAudioLLM/CosyVoice2-0.5B', local_dir='pretrained_models/CosyVoice2-0.5B')
|
56 |
-
snapshot_download('
|
57 |
-
os.system('cd pretrained_models/CosyVoice-ttsfrd/ &&
|
58 |
|
59 |
from cosyvoice.cli.cosyvoice import CosyVoice2
|
60 |
from cosyvoice.utils.file_utils import load_wav, logging
|
|
|
53 |
|
54 |
from huggingface_hub import snapshot_download
|
55 |
snapshot_download('FunAudioLLM/CosyVoice2-0.5B', local_dir='pretrained_models/CosyVoice2-0.5B')
|
56 |
+
snapshot_download('kemuriririn/CosyVoice-ttsfrd', local_dir='pretrained_models/CosyVoice-ttsfrd')
|
57 |
+
os.system('cd pretrained_models/CosyVoice-ttsfrd/ && pip install ttsfrd_dependency-0.1-py3-none-any.whl && pip install ttsfrd-0.4.2-cp310-cp310-linux_x86_64.whl && unzip resource.zip -d .')
|
58 |
|
59 |
from cosyvoice.cli.cosyvoice import CosyVoice2
|
60 |
from cosyvoice.utils.file_utils import load_wav, logging
|
requirements.txt
CHANGED
@@ -4,9 +4,12 @@
|
|
4 |
--trusted-host pypi.nvidia.com
|
5 |
audioseal==0.1.4
|
6 |
conformer==0.3.2
|
7 |
-
diffusers==0.
|
8 |
funasr==1.2.0
|
9 |
gdown==5.1.0
|
|
|
|
|
|
|
10 |
huggingface-hub==0.23.5
|
11 |
hydra-core==1.3.2
|
12 |
HyperPyYAML==1.2.2
|
@@ -14,26 +17,28 @@ inflect==7.3.1
|
|
14 |
librosa==0.10.2
|
15 |
lightning==2.2.4
|
16 |
matplotlib==3.7.5
|
17 |
-
modelscope==1.
|
18 |
networkx==3.1
|
19 |
omegaconf==2.3.0
|
20 |
onnx==1.16.0
|
21 |
-
onnxruntime-gpu==1.
|
22 |
-
|
23 |
openai-whisper==20231117
|
24 |
-
protobuf==
|
|
|
25 |
pydantic==2.7.0
|
|
|
26 |
rich==13.7.1
|
27 |
soundfile==0.12.1
|
28 |
tensorboard==2.14.0
|
29 |
-
tensorrt-cu12==10.0.1
|
30 |
-
tensorrt-cu12-bindings==10.0.1
|
31 |
-
tensorrt-cu12-libs==10.0.1
|
|
|
|
|
32 |
transformers==4.40.1
|
33 |
uvicorn==0.30.0
|
34 |
wget==3.2
|
35 |
fastapi==0.111.0
|
36 |
fastapi-cli==0.0.4
|
37 |
-
WeTextProcessing==1.0.3
|
38 |
-
torchaudio
|
39 |
-
torch
|
|
|
4 |
--trusted-host pypi.nvidia.com
|
5 |
audioseal==0.1.4
|
6 |
conformer==0.3.2
|
7 |
+
diffusers==0.29.0
|
8 |
funasr==1.2.0
|
9 |
gdown==5.1.0
|
10 |
+
gradio==5.4.0
|
11 |
+
grpcio==1.57.0
|
12 |
+
grpcio-tools==1.57.0
|
13 |
huggingface-hub==0.23.5
|
14 |
hydra-core==1.3.2
|
15 |
HyperPyYAML==1.2.2
|
|
|
17 |
librosa==0.10.2
|
18 |
lightning==2.2.4
|
19 |
matplotlib==3.7.5
|
20 |
+
modelscope==1.20.0
|
21 |
networkx==3.1
|
22 |
omegaconf==2.3.0
|
23 |
onnx==1.16.0
|
24 |
+
onnxruntime-gpu==1.18.0; sys_platform == 'linux'
|
25 |
+
onnxruntime==1.18.0; sys_platform == 'darwin' or sys_platform == 'win32'
|
26 |
openai-whisper==20231117
|
27 |
+
protobuf==4.25
|
28 |
+
pyarrow==18.1.0
|
29 |
pydantic==2.7.0
|
30 |
+
pyworld==0.3.4
|
31 |
rich==13.7.1
|
32 |
soundfile==0.12.1
|
33 |
tensorboard==2.14.0
|
34 |
+
tensorrt-cu12==10.0.1; sys_platform == 'linux'
|
35 |
+
tensorrt-cu12-bindings==10.0.1; sys_platform == 'linux'
|
36 |
+
tensorrt-cu12-libs==10.0.1; sys_platform == 'linux'
|
37 |
+
torch
|
38 |
+
torchaudio
|
39 |
transformers==4.40.1
|
40 |
uvicorn==0.30.0
|
41 |
wget==3.2
|
42 |
fastapi==0.111.0
|
43 |
fastapi-cli==0.0.4
|
44 |
+
WeTextProcessing==1.0.3
|
|
|
|