jameson512 commited on
Commit
35677ca
·
1 Parent(s): fccea05

Upload files via LFS

Browse files
Files changed (1) hide show
  1. pyproject.toml +335 -0
pyproject.toml ADDED
@@ -0,0 +1,335 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "pyVideoTrans"
3
+ version = "4.00"
4
+ requires-python = ">=3.10, <3.11"
5
+ dependencies = [
6
+ "absl-py==2.0.0",
7
+ "accelerate==1.12.0",
8
+ "addict==2.4.0",
9
+ "aenum==3.1.15",
10
+ "aiofiles==24.1.0",
11
+ "aiohappyeyeballs==2.6.1",
12
+ "aiohttp==3.12.13",
13
+ "aiosignal==1.3.2",
14
+ "alibabacloud-alimt20181012==1.1.0",
15
+ "alibabacloud-credentials==0.3.6",
16
+ "alibabacloud-endpoint-util==0.0.3",
17
+ "alibabacloud-gateway-spi==0.0.2",
18
+ "alibabacloud-openapi-util==0.2.2",
19
+ "alibabacloud-openplatform20191219==2.0.0",
20
+ "alibabacloud-oss-sdk==0.1.0",
21
+ "alibabacloud-oss-util==0.0.6",
22
+ "alibabacloud-tea==0.4.0",
23
+ "alibabacloud-tea-fileform==0.0.5",
24
+ "alibabacloud-tea-openapi==0.3.12",
25
+ "alibabacloud-tea-util==0.3.13",
26
+ "alibabacloud-tea-xml==0.0.2",
27
+ "aliyun-python-sdk-core==2.16.0",
28
+ "aliyun-python-sdk-kms==2.16.5",
29
+ "altgraph==0.17.4",
30
+ "annotated-types==0.6.0",
31
+ "anthropic==0.42.0",
32
+ "antlr4-python3-runtime==4.9.3",
33
+ "anyio==4.9.0",
34
+ "asttokens==2.4.1",
35
+ "astunparse==1.6.3",
36
+ "async-timeout==5.0.1",
37
+ "attrs==25.3.0",
38
+ "audioread==3.0.1",
39
+ "av==16.0.1",
40
+ "azure-cognitiveservices-speech",
41
+ "blinker==1.8.2",
42
+ "cachetools==5.3.2",
43
+ "certifi==2025.10.5",
44
+ "cffi==1.17.1",
45
+ "chardet==3.0.4",
46
+ "charset-normalizer==3.4.4",
47
+ "click==8.1.7",
48
+ "colorama==0.4.6",
49
+ "coloredlogs==15.0.1",
50
+ "contourpy==1.1.1",
51
+ "crcmod==1.7",
52
+ "cryptography==45.0.4",
53
+ "ctranslate2==4.8",
54
+ "cycler==0.12.1",
55
+ "dashscope==1.25.5",
56
+ "dataclasses-json==0.6.7",
57
+ "datasets==3.0.0",
58
+ "decorator==5.2.1",
59
+ "deepgram-captions==1.2.0",
60
+ "deepgram-sdk==4.1.0",
61
+ "deepl==1.18.0",
62
+ "deprecation==2.1.0",
63
+ "diffusers==0.33.1",
64
+ "dill==0.3.8",
65
+ "distro==1.8.0",
66
+ "editdistance==0.8.1",
67
+ "exceptiongroup==1.2.2",
68
+ "executing==2.0.1",
69
+ "ffmpeg-python==0.2.0",
70
+ "filelock==3.20.0",
71
+ "flatbuffers==25.9.23",
72
+ "fonttools==4.43.1",
73
+ "frozenlist==1.7.0",
74
+ "fsspec==2024.6.1",
75
+ "future==0.18.3",
76
+ "gast==0.4.0",
77
+ "google-api-core==2.28.1",
78
+ "google-api-python-client==2.128.0",
79
+ "google-auth==2.29.0",
80
+ "google-auth-httplib2==0.2.0",
81
+ "google-auth-oauthlib==0.4.6",
82
+ "google-cloud-texttospeech==2.27.0",
83
+ "google-pasta==0.2.0",
84
+ "googleapis-common-protos==1.63.0",
85
+ "grpcio==1.60.0",
86
+ "grpcio-status==1.60.0",
87
+ "h11==0.14.0",
88
+ "h2==3.2.0",
89
+ "h5py==3.10.0",
90
+ "hdbscan==0.8.40",
91
+ "hf-xet==1.1.8",
92
+ "hpack==3.0.0",
93
+ "hstspreload==2023.1.1",
94
+ "httpcore==1.0.6",
95
+ "httplib2==0.22.0",
96
+ "httpx[socks]==0.28.1",
97
+ "huggingface==0.0.1",
98
+ "huggingface-hub==0.35.3",
99
+ "humanfriendly==10.0",
100
+ "hydra-core==1.3.2",
101
+ "hyperframe==5.2.0",
102
+ "idna==3.11",
103
+ "imageio==2.31.4",
104
+ "imageio-ffmpeg==0.4.9",
105
+ "importlib-metadata==8.7.0",
106
+ "inflate64==1.0.0",
107
+ "ipython==8.23.0",
108
+ "iso639-lang==2.2.3",
109
+ "itsdangerous==2.2.0",
110
+ "jaconv==0.4.0",
111
+ "jamo==0.4.1",
112
+ "jedi==0.19.1",
113
+ "jieba==0.42.1",
114
+ "jinja2==3.1.2",
115
+ "jiter==0.11.1",
116
+ "jmespath==0.10.0",
117
+ "joblib==1.5.1",
118
+ "kaldiio==2.18.1",
119
+ "keras==2.9.0",
120
+ "keras-preprocessing==1.1.2",
121
+ "kiwisolver==1.4.5",
122
+ "lazy-loader==0.4",
123
+ "libclang==16.0.6",
124
+ "librosa==0.11.0",
125
+ "llvmlite==0.44.0",
126
+ "markdown==3.5",
127
+ "markdown-it-py==4.0.0",
128
+ "markupsafe==2.1.3",
129
+ "marshmallow==3.23.0",
130
+ "matplotlib-inline==0.1.6",
131
+ "mdurl==0.1.2",
132
+ "more-itertools==10.1.0",
133
+ "mpmath==1.3.0",
134
+ "msgpack==1.1.1",
135
+ "mypy-extensions==1.0.0",
136
+ "networkx==3.2",
137
+ "norbert==0.2.1",
138
+ "numba==0.61.2",
139
+ "numpy==1.26.0",
140
+ "oauthlib==3.2.2",
141
+ "omegaconf==2.3.0",
142
+ "opt-einsum==3.3.0",
143
+ "ordered-set==4.1.0",
144
+ "oss2==2.19.1",
145
+ "packaging==25.0",
146
+ "pandas==2.3.0",
147
+ "parso==0.8.3",
148
+ "pefile==2023.2.7",
149
+ "peft==0.15.2",
150
+ "pip==25.1.1",
151
+ "platformdirs==4.3.8",
152
+ "plyer==2.1.0",
153
+ "pooch==1.8.2",
154
+ "proglog==0.1.10",
155
+ "prompt-toolkit==3.0.43",
156
+ "propcache==0.3.2",
157
+ "proto-plus==1.23.0",
158
+ "protobuf==4.21.6",
159
+ "psutil==6.0.0",
160
+ "pure-eval==0.2.2",
161
+ "py7zr==0.22.0",
162
+ "pyarrow==20.0.0",
163
+ "pyasn1==0.5.0",
164
+ "pyasn1-modules==0.3.0",
165
+ "pybcj==1.0.2",
166
+ "pycparser==2.22",
167
+ "pycryptodome==3.23.0",
168
+ "pycryptodomex==3.21.0",
169
+ "pydantic==2.10.2",
170
+ "pydantic-core==2.27.1",
171
+ "pydub==0.25.1",
172
+ "pygments==2.17.2",
173
+ "pyinstaller==6.16.0",
174
+ "pyinstaller-hooks-contrib==2025.8",
175
+ "pynndescent==0.5.13",
176
+ "pyparsing==3.1.1",
177
+ "pyppmd==1.1.0",
178
+ "pyside6==6.9.2",
179
+ "pyside6-addons==6.9.2",
180
+ "pyside6-essentials==6.9.2",
181
+ "pysoundfile==0.9.0.post1",
182
+ "python-dateutil==2.9.0.post0",
183
+ "pytorch-wpe==0.0.1",
184
+ "pytz==2025.2",
185
+ "pyyaml==6.0.3",
186
+ "pyzstd==0.16.1",
187
+ "qdarkstyle==3.2.3",
188
+ "regex",
189
+ "requests[socks]==2.32.5",
190
+ "requests-oauthlib==1.3.1",
191
+ "resampy==0.4.2",
192
+ "rfc3986==1.5.0",
193
+ "rich==14.2.0",
194
+ "rsa==4.9",
195
+ "safetensors==0.4.5",
196
+ "scikit-learn==1.7.0",
197
+ "scipy==1.15.3",
198
+ "sentencepiece==0.2.0",
199
+ "setuptools==80.9.0",
200
+ "shellingham==1.5.4",
201
+ "shiboken6==6.9.2",
202
+ "simplejson==3.19.3",
203
+ "six==1.17.0",
204
+ "snakeviz==2.2.2",
205
+ "sniffio==1.3.1",
206
+ "sortedcontainers==2.4.0",
207
+ "soundfile==0.13.1",
208
+ "soxr==0.5.0.post1",
209
+ "speechrecognition==3.10.0",
210
+ "srt==3.5.2",
211
+ "stack-data==0.6.3",
212
+ "sympy==1.14.0",
213
+ "tabulate==0.9.0",
214
+ "tenacity==9.1.2",
215
+ "tencentcloud-sdk-python==3.0.1223",
216
+ "tencentcloud-sdk-python-common==3.0.1032",
217
+ "tencentcloud-sdk-python-tmt==3.0.1032",
218
+ "tensorboardx==2.6.4",
219
+ "tiktoken==0.6.0",
220
+ "torch==2.7.1",
221
+ "torch-complex==0.4.4",
222
+ "torchaudio==2.7.1",
223
+ "tqdm==4.67.1",
224
+ "typer==0.19.2",
225
+ "typing-extensions==4.15.0",
226
+ "typing-inspect==0.9.0",
227
+ "tzdata==2025.2",
228
+ "urllib3==2.5.0",
229
+ "websocket-client==1.8.0",
230
+ "websockets==13.1",
231
+ "wheel==0.45.1",
232
+ "wrapt==1.15.0",
233
+ "xxhash==3.5.0",
234
+ "yarl==1.20.1",
235
+ "zhconv==1.4.3",
236
+ "sherpa-onnx>=1.13.0",
237
+ "sherpa-onnx-core>=1.13.0",
238
+ "sounddevice>=0.5.3",
239
+ "openai-whisper>=20250625",
240
+ "multidict>=6.7",
241
+ "pytsmod>=0.3.8",
242
+ "pyrubberband>=0.4.0",
243
+ "piper-tts>=1.3.0",
244
+ "pillow>=12.0.0",
245
+ "gradio-client>=2.0.1",
246
+ "ten-vad>=1.0.6.8",
247
+ "pyannote-audio==3.4.0",
248
+ "modelscope>=1.34.0",
249
+ "funasr>=1.3.1",
250
+ "edge-tts",
251
+ "onnxruntime",
252
+ "openai",
253
+ "faster-whisper",
254
+ "google-genai",
255
+ "transformers==4.57.6",
256
+ "elevenlabs",
257
+ "camb-sdk",
258
+ "brotli>=1.2.0",
259
+ "gtts>=2.5.4",
260
+ "torchcodec>=0.14.0",
261
+ "importlib-resources",
262
+ ]
263
+
264
+ [project.optional-dependencies]
265
+ dotnet = [
266
+ "pythonnet>=3.0.1",
267
+ ]
268
+ qwentts = [
269
+ "qwen-tts",
270
+ ]
271
+ qwenasr = [
272
+ "qwen-asr",
273
+ ]
274
+ webui = [
275
+ "gradio"
276
+ ]
277
+
278
+ #https://github.com/OpenMOSS/MOSS-TTS-Nano/issues/6
279
+ mosstts = [
280
+ "pynini",
281
+ "WeTextProcessing"
282
+ ]
283
+ chatterbox=[
284
+ "chatterbox-tts"
285
+ ]
286
+
287
+ [dependency-groups]
288
+ dev = [
289
+ "pytest",
290
+ ]
291
+ lint = [
292
+ "ruff",
293
+ ]
294
+
295
+ # 忽略版本冲突错误
296
+ [tool.uv]
297
+ override-dependencies = [
298
+ "torch==2.7.1",
299
+ "transformers==4.57.6",
300
+ "torchaudio==2.7.1",
301
+ "diffusers==0.33.1",
302
+ "safetensors==0.4.5",
303
+ "chatterbox-tts==0.1.7"
304
+
305
+
306
+ ]
307
+
308
+ index-strategy = "unsafe-best-match"
309
+
310
+
311
+
312
+
313
+ [[tool.uv.index]]
314
+ name = "pytorch-cu128"
315
+ url = "https://download.pytorch.org/whl/cu128"
316
+ explicit = true
317
+
318
+ [[tool.uv.index]]
319
+ name = "pytorch-cpu"
320
+ url = "https://download.pytorch.org/whl/cpu"
321
+ explicit = true
322
+
323
+ [tool.uv.sources]
324
+ torch = [
325
+ { index = "pytorch-cu128", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
326
+ { index = "pytorch-cpu", marker = "sys_platform == 'darwin'" }, # darwin 为 macOS
327
+ ]
328
+ torchaudio = [
329
+ { index = "pytorch-cu128", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
330
+ { index = "pytorch-cpu", marker = "sys_platform == 'darwin'" },
331
+ ]
332
+
333
+ faster-whisper = { url = "https://github.com/SYSTRAN/faster-whisper/archive/refs/heads/master.tar.gz" }
334
+
335
+