Nông Văn Thắng commited on
Commit
f74bd98
·
1 Parent(s): f3888fa
Files changed (5) hide show
  1. .gitattributes +0 -13
  2. README.md +4 -4
  3. app.py +2 -18
  4. packages.txt +174 -0
  5. requirements.txt +175 -0
.gitattributes CHANGED
@@ -1,13 +0,0 @@
1
- *.ckpt filter=lfs diff=lfs merge=lfs -text
2
- *.npy filter=lfs diff=lfs merge=lfs -text
3
- *.npz filter=lfs diff=lfs merge=lfs -text
4
- *.onnx filter=lfs diff=lfs merge=lfs -text
5
- *.pickle filter=lfs diff=lfs merge=lfs -text
6
- *.pkl filter=lfs diff=lfs merge=lfs -text
7
- *.pt filter=lfs diff=lfs merge=lfs -text
8
- *.pth filter=lfs diff=lfs merge=lfs -text
9
- *.rar filter=lfs diff=lfs merge=lfs -text
10
- *.safetensors filter=lfs diff=lfs merge=lfs -text
11
- *.zip filter=lfs diff=lfs merge=lfs -text
12
- g_02500000 filter=lfs diff=lfs merge=lfs -text
13
- generator_v1 filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- title: MatchaTTS NgNgNgan
3
- emoji: 🗣️🎙️
4
- colorFrom: blue
5
- colorTo: indigo
6
  sdk: gradio
7
  app_file: app.py
8
  pinned: false
 
1
  ---
2
+ title: Tts Ngngan
3
+ emoji: 📚
4
+ colorFrom: pink
5
+ colorTo: purple
6
  sdk: gradio
7
  app_file: app.py
8
  pinned: false
app.py CHANGED
@@ -10,23 +10,7 @@ from matcha.utils.utils import plot_tensor
10
 
11
 
12
  TITLE="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching"
13
- DESCRIPTION = """# chuyển đổi chuyển văn bản thành giọng nói, sử dụng giọng đọc của nhà văn Nguyễn Ngọc Ngạn
14
-
15
- original: 🍵 https://github.com/shivammehta25/Matcha-TTS
16
-
17
- my personal checkpoints: a speech-synthesis model of Vietnamese M.C. Nguyễn Ngọc Ngạn
18
-
19
- the checkpoints is released under CC-BY-NC-SA-4.0
20
-
21
- In accordance with the terms of the CC-BY-NC-SA-4.0 license, the use of my checkpoints and any audio output generated by them for commercial purposes is strictly prohibited. This includes, but is not limited to:
22
- - online and offline voice cloning as a service
23
- - online and offline text-to-speech as a service
24
- - content creation for monetization on social media platforms
25
-
26
- Căn cứ vào các điều khoản của giấp phép CC-BY-NC-SA-4.0, việc sử dụng các checkpoints này và bất kỳ đầu ra âm thanh nào được tạo bởi chúng đều bị nghiêm cấm sử dụng cho mục đích thương mại. Điều này bao gồm, nhưng không giới hạn ở:
27
- - các dịch vụ nhân bản giọng nói trực tuyến và ngoại tuyến
28
- - các dịch vụ chuyển văn bản thành giọng nói trực tuyến và ngoại tuyến
29
- - tạo nội dung để kiếm tiền trên các nền tảng mạng xã hội"""
30
 
31
 
32
  DEMO_TEXT_0 = "Đây là một chương trình chuyển đổi văn bản thành giọng nói, sử dụng giọng đọc của nhà văn Nguyễn Ngọc Ngạn"
@@ -119,4 +103,4 @@ with gr.Blocks(title=TITLE, theme="soft") as demo:
119
  api_name="speak",
120
  )
121
 
122
- demo.queue(default_concurrency_limit=5).launch(server_port=8080)
 
10
 
11
 
12
  TITLE="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching"
13
+ DESCRIPTION = """# chuyển đổi chuyển văn bản thành giọng nói, sử dụng giọng đọc của nhà văn Nguyễn Ngọc Ngạn"""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
 
16
  DEMO_TEXT_0 = "Đây là một chương trình chuyển đổi văn bản thành giọng nói, sử dụng giọng đọc của nhà văn Nguyễn Ngọc Ngạn"
 
103
  api_name="speak",
104
  )
105
 
106
+ demo.queue().launch(server_port=8080)
packages.txt CHANGED
@@ -1 +1,175 @@
1
  espeak-ng
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  espeak-ng
2
+ aiofiles==23.2.1
3
+ aiohttp==3.9.3
4
+ aiosignal==1.3.1
5
+ alembic==1.13.1
6
+ altair==5.2.0
7
+ annotated-types==0.6.0
8
+ antlr4-python3-runtime==4.9.3
9
+ anyio==4.2.0
10
+ async-timeout==4.0.3
11
+ attrs==23.2.0
12
+ Authlib==1.3.0
13
+ autopage==0.5.2
14
+ Babel==2.14.0
15
+ beautifulsoup4==4.12.3
16
+ bibtexparser==2.0.0b6
17
+ certifi==2024.2.2
18
+ cffi==1.16.0
19
+ charset-normalizer==3.3.2
20
+ click==8.0.4
21
+ cliff==4.5.0
22
+ clldutils==3.22.1
23
+ cmaes==0.10.0
24
+ cmd2==2.4.3
25
+ colorama==0.4.6
26
+ colorlog==6.8.2
27
+ conformer==0.3.2
28
+ contourpy==1.2.0
29
+ cryptography==42.0.2
30
+ csvw==3.3.0
31
+ cycler==0.12.1
32
+ Cython==3.0.8
33
+ datasets==2.16.1
34
+ diffusers==0.26.2
35
+ dill==0.3.7
36
+ dlinfo==1.2.1
37
+ docopt==0.6.2
38
+ einops==0.7.0
39
+ exceptiongroup==1.2.0
40
+ fastapi==0.109.2
41
+ ffmpy==0.3.1
42
+ filelock==3.13.1
43
+ fonttools==4.48.1
44
+ frozenlist==1.4.1
45
+ fsspec==2023.10.0
46
+ gdown==5.1.0
47
+ gradio==4.17.0
48
+ gradio_client==0.9.0
49
+ greenlet==3.0.3
50
+ h11==0.14.0
51
+ hf_transfer==0.1.5
52
+ httpcore==1.0.2
53
+ httpx==0.26.0
54
+ huggingface-hub==0.20.3
55
+ hydra-colorlog==1.2.0
56
+ hydra-core==1.3.2
57
+ hydra-optuna-sweeper==1.2.0
58
+ idna==3.6
59
+ importlib-metadata==7.0.1
60
+ importlib-resources==6.1.1
61
+ inflect==7.0.0
62
+ isodate==0.6.1
63
+ itsdangerous==2.1.2
64
+ Jinja2==3.1.3
65
+ joblib==1.3.2
66
+ jsonschema==4.21.1
67
+ jsonschema-specifications==2023.12.1
68
+ kiwisolver==1.4.5
69
+ language-tags==1.2.0
70
+ lightning==2.2.0
71
+ lightning-utilities==0.10.1
72
+ lxml==5.1.0
73
+ Mako==1.3.2
74
+ Markdown==3.5.2
75
+ markdown-it-py==3.0.0
76
+ MarkupSafe==2.1.5
77
+ matcha-tts @ git+https://github.com/phineas-pta/MatchaTTS_ngngngan.git@df1415a7a133c98d9467adb7f577d24488190a8d
78
+ matplotlib==3.8.2
79
+ mdurl==0.1.2
80
+ mpmath==1.3.0
81
+ multidict==6.0.5
82
+ multiprocess==0.70.15
83
+ networkx==3.2.1
84
+ nltk==3.8.1
85
+ num2words==0.5.13
86
+ numpy==1.26.4
87
+ nvidia-cublas-cu12==12.1.3.1
88
+ nvidia-cuda-cupti-cu12==12.1.105
89
+ nvidia-cuda-nvrtc-cu12==12.1.105
90
+ nvidia-cuda-runtime-cu12==12.1.105
91
+ nvidia-cudnn-cu12==8.9.2.26
92
+ nvidia-cufft-cu12==11.0.2.54
93
+ nvidia-curand-cu12==10.3.2.106
94
+ nvidia-cusolver-cu12==11.4.5.107
95
+ nvidia-cusparse-cu12==12.1.0.106
96
+ nvidia-nccl-cu12==2.19.3
97
+ nvidia-nvjitlink-cu12==12.3.101
98
+ nvidia-nvtx-cu12==12.1.105
99
+ omegaconf==2.3.0
100
+ optuna==2.10.1
101
+ orjson==3.9.13
102
+ packaging==23.2
103
+ pandas==2.2.0
104
+ pbr==6.0.0
105
+ phonemizer==3.2.1
106
+ pillow==10.2.0
107
+ prettytable==3.9.0
108
+ protobuf==3.20.3
109
+ psutil==5.9.8
110
+ pyarrow==15.0.0
111
+ pyarrow-hotfix==0.6
112
+ pycparser==2.21
113
+ pydantic==2.6.1
114
+ pydantic_core==2.16.2
115
+ pydub==0.25.1
116
+ Pygments==2.17.2
117
+ pylatexenc==2.10
118
+ pyparsing==3.1.1
119
+ pyperclip==1.8.2
120
+ PySocks==1.7.1
121
+ python-crfsuite==0.9.10
122
+ python-dateutil==2.8.2
123
+ python-dotenv==1.0.1
124
+ python-multipart==0.0.7
125
+ pytorch-lightning==2.2.0
126
+ pytz==2024.1
127
+ PyYAML==6.0.1
128
+ rdflib==7.0.0
129
+ referencing==0.33.0
130
+ regex==2023.12.25
131
+ requests==2.31.0
132
+ rfc3986==1.5.0
133
+ rich==13.7.0
134
+ rootutils==1.0.7
135
+ rpds-py==0.17.1
136
+ ruff==0.2.1
137
+ safetensors==0.4.2
138
+ scikit-learn==1.4.0
139
+ scipy==1.12.0
140
+ segments==2.2.1
141
+ semantic-version==2.10.0
142
+ shellingham==1.5.4
143
+ six==1.16.0
144
+ sniffio==1.3.0
145
+ soundfile==0.12.1
146
+ soupsieve==2.5
147
+ spaces==0.22.0
148
+ SQLAlchemy==2.0.25
149
+ starlette==0.36.3
150
+ stevedore==5.1.0
151
+ sympy==1.12
152
+ tabulate==0.9.0
153
+ threadpoolctl==3.2.0
154
+ tomlkit==0.12.0
155
+ toolz==0.12.1
156
+ torch==2.2.0
157
+ torchaudio==2.2.0
158
+ torchmetrics==1.3.0.post0
159
+ tqdm==4.66.1
160
+ triton==2.2.0
161
+ typer==0.9.0
162
+ typing_extensions==4.9.0
163
+ tzdata==2023.4
164
+ underthesea==6.8.0
165
+ underthesea_core==1.0.4
166
+ Unidecode==1.3.8
167
+ uritemplate==4.1.1
168
+ urllib3==2.2.0
169
+ uvicorn==0.27.0.post1
170
+ wcwidth==0.2.13
171
+ websockets==11.0.3
172
+ wget==3.2
173
+ xxhash==3.4.1
174
+ yarl==1.9.4
175
+ zipp==3.17.0
requirements.txt CHANGED
@@ -1,2 +1,177 @@
1
  git+https://github.com/phineas-pta/MatchaTTS_ngngngan.git
2
  # --find-links=https://download.pytorch.org/whl/torch_stable.html
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  git+https://github.com/phineas-pta/MatchaTTS_ngngngan.git
2
  # --find-links=https://download.pytorch.org/whl/torch_stable.html
3
+ espeak-ng
4
+ aiofiles==23.2.1
5
+ aiohttp==3.9.3
6
+ aiosignal==1.3.1
7
+ alembic==1.13.1
8
+ altair==5.2.0
9
+ annotated-types==0.6.0
10
+ antlr4-python3-runtime==4.9.3
11
+ anyio==4.2.0
12
+ async-timeout==4.0.3
13
+ attrs==23.2.0
14
+ Authlib==1.3.0
15
+ autopage==0.5.2
16
+ Babel==2.14.0
17
+ beautifulsoup4==4.12.3
18
+ bibtexparser==2.0.0b6
19
+ certifi==2024.2.2
20
+ cffi==1.16.0
21
+ charset-normalizer==3.3.2
22
+ click==8.0.4
23
+ cliff==4.5.0
24
+ clldutils==3.22.1
25
+ cmaes==0.10.0
26
+ cmd2==2.4.3
27
+ colorama==0.4.6
28
+ colorlog==6.8.2
29
+ conformer==0.3.2
30
+ contourpy==1.2.0
31
+ cryptography==42.0.2
32
+ csvw==3.3.0
33
+ cycler==0.12.1
34
+ Cython==3.0.8
35
+ datasets==2.16.1
36
+ diffusers==0.26.2
37
+ dill==0.3.7
38
+ dlinfo==1.2.1
39
+ docopt==0.6.2
40
+ einops==0.7.0
41
+ exceptiongroup==1.2.0
42
+ fastapi==0.109.2
43
+ ffmpy==0.3.1
44
+ filelock==3.13.1
45
+ fonttools==4.48.1
46
+ frozenlist==1.4.1
47
+ fsspec==2023.10.0
48
+ gdown==5.1.0
49
+ gradio==4.17.0
50
+ gradio_client==0.9.0
51
+ greenlet==3.0.3
52
+ h11==0.14.0
53
+ hf_transfer==0.1.5
54
+ httpcore==1.0.2
55
+ httpx==0.26.0
56
+ huggingface-hub==0.20.3
57
+ hydra-colorlog==1.2.0
58
+ hydra-core==1.3.2
59
+ hydra-optuna-sweeper==1.2.0
60
+ idna==3.6
61
+ importlib-metadata==7.0.1
62
+ importlib-resources==6.1.1
63
+ inflect==7.0.0
64
+ isodate==0.6.1
65
+ itsdangerous==2.1.2
66
+ Jinja2==3.1.3
67
+ joblib==1.3.2
68
+ jsonschema==4.21.1
69
+ jsonschema-specifications==2023.12.1
70
+ kiwisolver==1.4.5
71
+ language-tags==1.2.0
72
+ lightning==2.2.0
73
+ lightning-utilities==0.10.1
74
+ lxml==5.1.0
75
+ Mako==1.3.2
76
+ Markdown==3.5.2
77
+ markdown-it-py==3.0.0
78
+ MarkupSafe==2.1.5
79
+ matcha-tts @ git+https://github.com/phineas-pta/MatchaTTS_ngngngan.git@df1415a7a133c98d9467adb7f577d24488190a8d
80
+ matplotlib==3.8.2
81
+ mdurl==0.1.2
82
+ mpmath==1.3.0
83
+ multidict==6.0.5
84
+ multiprocess==0.70.15
85
+ networkx==3.2.1
86
+ nltk==3.8.1
87
+ num2words==0.5.13
88
+ numpy==1.26.4
89
+ nvidia-cublas-cu12==12.1.3.1
90
+ nvidia-cuda-cupti-cu12==12.1.105
91
+ nvidia-cuda-nvrtc-cu12==12.1.105
92
+ nvidia-cuda-runtime-cu12==12.1.105
93
+ nvidia-cudnn-cu12==8.9.2.26
94
+ nvidia-cufft-cu12==11.0.2.54
95
+ nvidia-curand-cu12==10.3.2.106
96
+ nvidia-cusolver-cu12==11.4.5.107
97
+ nvidia-cusparse-cu12==12.1.0.106
98
+ nvidia-nccl-cu12==2.19.3
99
+ nvidia-nvjitlink-cu12==12.3.101
100
+ nvidia-nvtx-cu12==12.1.105
101
+ omegaconf==2.3.0
102
+ optuna==2.10.1
103
+ orjson==3.9.13
104
+ packaging==23.2
105
+ pandas==2.2.0
106
+ pbr==6.0.0
107
+ phonemizer==3.2.1
108
+ pillow==10.2.0
109
+ prettytable==3.9.0
110
+ protobuf==3.20.3
111
+ psutil==5.9.8
112
+ pyarrow==15.0.0
113
+ pyarrow-hotfix==0.6
114
+ pycparser==2.21
115
+ pydantic==2.6.1
116
+ pydantic_core==2.16.2
117
+ pydub==0.25.1
118
+ Pygments==2.17.2
119
+ pylatexenc==2.10
120
+ pyparsing==3.1.1
121
+ pyperclip==1.8.2
122
+ PySocks==1.7.1
123
+ python-crfsuite==0.9.10
124
+ python-dateutil==2.8.2
125
+ python-dotenv==1.0.1
126
+ python-multipart==0.0.7
127
+ pytorch-lightning==2.2.0
128
+ pytz==2024.1
129
+ PyYAML==6.0.1
130
+ rdflib==7.0.0
131
+ referencing==0.33.0
132
+ regex==2023.12.25
133
+ requests==2.31.0
134
+ rfc3986==1.5.0
135
+ rich==13.7.0
136
+ rootutils==1.0.7
137
+ rpds-py==0.17.1
138
+ ruff==0.2.1
139
+ safetensors==0.4.2
140
+ scikit-learn==1.4.0
141
+ scipy==1.12.0
142
+ segments==2.2.1
143
+ semantic-version==2.10.0
144
+ shellingham==1.5.4
145
+ six==1.16.0
146
+ sniffio==1.3.0
147
+ soundfile==0.12.1
148
+ soupsieve==2.5
149
+ spaces==0.22.0
150
+ SQLAlchemy==2.0.25
151
+ starlette==0.36.3
152
+ stevedore==5.1.0
153
+ sympy==1.12
154
+ tabulate==0.9.0
155
+ threadpoolctl==3.2.0
156
+ tomlkit==0.12.0
157
+ toolz==0.12.1
158
+ torch==2.2.0
159
+ torchaudio==2.2.0
160
+ torchmetrics==1.3.0.post0
161
+ tqdm==4.66.1
162
+ triton==2.2.0
163
+ typer==0.9.0
164
+ typing_extensions==4.9.0
165
+ tzdata==2023.4
166
+ underthesea==6.8.0
167
+ underthesea_core==1.0.4
168
+ Unidecode==1.3.8
169
+ uritemplate==4.1.1
170
+ urllib3==2.2.0
171
+ uvicorn==0.27.0.post1
172
+ wcwidth==0.2.13
173
+ websockets==11.0.3
174
+ wget==3.2
175
+ xxhash==3.4.1
176
+ yarl==1.9.4
177
+ zipp==3.17.0