

deps: add `piper-tts`
@61e0e5fd1e3953cf666d855845b6526f7c880ddf
--- pyproject.toml
+++ pyproject.toml
... | ... | @@ -8,7 +8,8 @@ |
8 | 8 |
"faster-whisper>=1.0.3", |
9 | 9 |
"huggingface-hub>=0.25.1", |
10 | 10 |
"numpy>=2.1.1", |
11 |
- "piper-phonemize", |
|
11 |
+ "piper-phonemize ; platform_machine == 'x86_64'", |
|
12 |
+ "piper-tts>=1.2.0 ; platform_machine == 'x86_64'", |
|
12 | 13 |
"pydantic-settings>=2.5.2", |
13 | 14 |
"pydantic>=2.9.0", |
14 | 15 |
"python-multipart>=0.0.10", |
... | ... | @@ -119,3 +120,8 @@ |
119 | 120 |
|
120 | 121 |
[tool.uv.sources] |
121 | 122 |
piper-phonemize = { url = "https://github.com/fedirz/piper-phonemize/raw/refs/heads/master/dist/piper_phonemize-1.2.0-cp312-cp312-manylinux_2_28_x86_64.whl" } |
123 |
+ |
|
124 |
+[[tool.uv.dependency-metadata]] |
|
125 |
+name = "piper-tts" |
|
126 |
+version = "1.2.0" |
|
127 |
+requires-dist = ["piper-phonemize"] |
--- uv.lock
+++ uv.lock
... | ... | @@ -1,6 +1,13 @@ |
1 | 1 |
version = 1 |
2 | 2 |
requires-python = "==3.12.*" |
3 | 3 |
|
4 |
+[manifest] |
|
5 |
+ |
|
6 |
+[[manifest.dependency-metadata]] |
|
7 |
+name = "piper-tts" |
|
8 |
+version = "1.2.0" |
|
9 |
+requires-dist = ["piper-phonemize"] |
|
10 |
+ |
|
4 | 11 |
[[package]] |
5 | 12 |
name = "aiofiles" |
6 | 13 |
version = "23.2.1" |
... | ... | @@ -257,7 +264,8 @@ |
257 | 264 |
{ name = "faster-whisper" }, |
258 | 265 |
{ name = "huggingface-hub" }, |
259 | 266 |
{ name = "numpy" }, |
260 |
- { name = "piper-phonemize" }, |
|
267 |
+ { name = "piper-phonemize", marker = "platform_machine == 'x86_64'" }, |
|
268 |
+ { name = "piper-tts", marker = "platform_machine == 'x86_64'" }, |
|
261 | 269 |
{ name = "pydantic" }, |
262 | 270 |
{ name = "pydantic-settings" }, |
263 | 271 |
{ name = "python-multipart" }, |
... | ... | @@ -306,7 +314,8 @@ |
306 | 314 |
{ name = "mkdocstrings", extras = ["python"], marker = "extra == 'dev'", specifier = ">=0.26.1" }, |
307 | 315 |
{ name = "numpy", specifier = ">=2.1.1" }, |
308 | 316 |
{ name = "openai", marker = "extra == 'ui'", specifier = ">=1.48.0" }, |
309 |
- { name = "piper-phonemize", url = "https://github.com/fedirz/piper-phonemize/raw/refs/heads/master/dist/piper_phonemize-1.2.0-cp312-cp312-manylinux_2_28_x86_64.whl" }, |
|
317 |
+ { name = "piper-phonemize", marker = "platform_machine == 'x86_64'", url = "https://github.com/fedirz/piper-phonemize/raw/refs/heads/master/dist/piper_phonemize-1.2.0-cp312-cp312-manylinux_2_28_x86_64.whl" }, |
|
318 |
+ { name = "piper-tts", marker = "platform_machine == 'x86_64'", specifier = ">=1.2.0" }, |
|
310 | 319 |
{ name = "pre-commit", marker = "extra == 'dev'", specifier = ">=4.0.1" }, |
311 | 320 |
{ name = "pydantic", specifier = ">=2.9.0" }, |
312 | 321 |
{ name = "pydantic-settings", specifier = ">=2.5.2" }, |
... | ... | @@ -993,6 +1002,17 @@ |
993 | 1002 |
] |
994 | 1003 |
|
995 | 1004 |
[[package]] |
1005 |
+name = "piper-tts" |
|
1006 |
+version = "1.2.0" |
|
1007 |
+source = { registry = "https://pypi.org/simple" } |
|
1008 |
+dependencies = [ |
|
1009 |
+ { name = "piper-phonemize" }, |
|
1010 |
+] |
|
1011 |
+wheels = [ |
|
1012 |
+ { url = "https://files.pythonhosted.org/packages/24/aa/215bced0725cf5b5afe939f86b177c8ddb0d38292a94e85c55b3fcf6d46d/piper_tts-1.2.0-py3-none-any.whl", hash = "sha256:f3410aea0f8051d8a118050a5b954faeb36f6ac0da6d10fc2f8a043a8eaf27b5", size = 29454 }, |
|
1013 |
+] |
|
1014 |
+ |
|
1015 |
+[[package]] |
|
996 | 1016 |
name = "platformdirs" |
997 | 1017 |
version = "4.3.6" |
998 | 1018 |
source = { registry = "https://pypi.org/simple" } |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?