@simplexai/localmodels-win32-x64 0.1.0-dev.108 → 0.1.0-dev.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +13 -6
- package/README.md +1 -1
- package/bootstrap.identity +1 -1
- package/bootstrap.sha256 +35 -34
- package/modules/localmodels/__init__.py +1 -1
- package/modules/localmodels/catalog.json +468 -57
- package/modules/localmodels/catalog_recipes.py +12 -3
- package/modules/localmodels/chat_template.py +10 -0
- package/modules/localmodels/chat_templates/qwen4-35b-a3b.jinja +223 -0
- package/modules/localmodels/debug_stub_server.py +1 -1
- package/modules/localmodels/download-mirrors.json +23 -34
- package/modules/localmodels/library_direct.py +6 -1
- package/modules/localmodels/library_model.py +4 -0
- package/modules/localmodels/library_order.py +44 -1
- package/modules/localmodels/library_presentation.py +1 -0
- package/modules/localmodels/suite.py +4 -0
- package/modules/localmodels/tts-moss.txt +78 -53
- package/modules/localmodels/tts_catalog.py +2 -2
- package/modules/localmodels/tts_cli.py +3 -3
- package/modules/localmodels/tts_jobs.py +1 -3
- package/modules/localmodels/tts_model.py +3 -3
- package/modules/localmodels/tts_moss_presets.json +1 -1
- package/modules/localmodels/tts_sidecar.py +7 -3
- package/modules/localmodels/tts_state.py +15 -0
- package/modules/localmodels/tts_worker_kokoro.py +939 -255
- package/modules/localmodels/tts_worker_moss.py +25 -9
- package/modules/localmodels/tts_workers.py +14 -18
- package/modules/{simplex_localmodels-0.1.0.dev108.dist-info → simplex_localmodels-0.1.0.dev110.dist-info}/METADATA +1 -1
- package/modules/{simplex_localmodels-0.1.0.dev108.dist-info → simplex_localmodels-0.1.0.dev110.dist-info}/RECORD +30 -29
- package/modules/{simplex_localmodels-0.1.0.dev108.dist-info → simplex_localmodels-0.1.0.dev110.dist-info}/licenses/NOTICE +13 -6
- package/package.json +1 -1
- package/tool.json +1 -1
- /package/modules/{simplex_localmodels-0.1.0.dev108.dist-info → simplex_localmodels-0.1.0.dev110.dist-info}/WHEEL +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev108.dist-info → simplex_localmodels-0.1.0.dev110.dist-info}/entry_points.txt +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev108.dist-info → simplex_localmodels-0.1.0.dev110.dist-info}/licenses/LICENSE +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev108.dist-info → simplex_localmodels-0.1.0.dev110.dist-info}/licenses/localmodels/HERMES-LICENSE +0 -0
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
# Zero-PyTorch ONNX Runtime CPU environment for MOSS-TTS-Nano-100M
|
|
2
|
-
# (localmodels/tts_worker_moss.py): onnxruntime, numpy,
|
|
3
|
-
# (zero torch, transformers, or torchaudio). Installed by
|
|
4
|
-
# <base_dir>/frontends/tts-moss with --require-hashes --no-deps
|
|
1
|
+
# Zero-PyTorch ONNX Runtime CPU environment for Kokoro v1.0 INT8 and MOSS-TTS-Nano-100M
|
|
2
|
+
# (localmodels/tts_worker_kokoro.py, localmodels/tts_worker_moss.py): onnxruntime, numpy,
|
|
3
|
+
# and sentencepiece only (zero torch, transformers, or torchaudio). Installed by
|
|
4
|
+
# localmodels/frontend.py into <base_dir>/frontends/tts-moss with --require-hashes --no-deps
|
|
5
|
+
# and CN PyPI mirror support.
|
|
6
|
+
# macOS pins onnxruntime==1.23.2 (prebuilt cp310-cp313 wheels for macosx_13_0_x86_64 and
|
|
7
|
+
# macosx_13_0_arm64); Linux and Windows on Python 3.11+ pin onnxruntime==1.32.0.
|
|
8
|
+
# sentencepiece==0.2.2 ships prebuilt cp310-cp314 wheels for all 5 platforms including darwin-x64.
|
|
5
9
|
# Regenerate with:
|
|
6
|
-
# uv pip compile --universal --python-version 3.10 --generate-hashes --no-header --no-annotate -
|
|
7
|
-
|
|
10
|
+
# uv pip compile --universal --python-version 3.10 --generate-hashes --no-header --no-annotate - <<'EOF'
|
|
11
|
+
# onnxruntime==1.23.2 ; sys_platform == 'darwin' or python_full_version < '3.11'
|
|
12
|
+
# onnxruntime==1.32.0 ; sys_platform != 'darwin' and python_full_version >= '3.11'
|
|
13
|
+
# numpy
|
|
14
|
+
# sentencepiece==0.2.2
|
|
15
|
+
# EOF
|
|
16
|
+
coloredlogs==15.0.1 ; python_full_version < '3.11' or sys_platform == 'darwin' \
|
|
8
17
|
--hash=sha256:612ee75c546f53e92e70049c9dbfcc18c935a2b9a53b66085ce9ef6a6e5c0934 \
|
|
9
18
|
--hash=sha256:7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5bf16b0
|
|
10
19
|
flatbuffers==25.12.19 \
|
|
11
20
|
--hash=sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4
|
|
12
|
-
humanfriendly==10.0 ; python_full_version < '3.11' \
|
|
21
|
+
humanfriendly==10.0 ; python_full_version < '3.11' or sys_platform == 'darwin' \
|
|
13
22
|
--hash=sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477 \
|
|
14
23
|
--hash=sha256:6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc
|
|
15
|
-
mpmath==1.3.0 ; python_full_version < '3.11' \
|
|
24
|
+
mpmath==1.3.0 ; python_full_version < '3.11' or sys_platform == 'darwin' \
|
|
16
25
|
--hash=sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f \
|
|
17
26
|
--hash=sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c
|
|
18
27
|
numpy==2.2.6 ; python_full_version < '3.11' \
|
|
@@ -211,7 +220,7 @@ numpy==2.5.5 ; python_full_version >= '3.12' \
|
|
|
211
220
|
--hash=sha256:f82a7567c590ff266f8c18fd527a0662edde074de11be256541a656e274f2b05 \
|
|
212
221
|
--hash=sha256:fd47c92e0d1e53f9498b1a30305072434fbae6b5a305cbcab514f959e9ce0fab \
|
|
213
222
|
--hash=sha256:ff5c1ab54a637c0adcdbb69ad10e5c4f1c4dedba69c0d1de383249b70c36908f
|
|
214
|
-
onnxruntime==1.23.2 ; python_full_version < '3.11' \
|
|
223
|
+
onnxruntime==1.23.2 ; python_full_version < '3.11' or sys_platform == 'darwin' \
|
|
215
224
|
--hash=sha256:0be6a37a45e6719db5120e9986fcd30ea205ac8103fd1fb74b6c33348327a0cc \
|
|
216
225
|
--hash=sha256:0f9b4ae77f8e3c9bee50c27bc1beede83f786fe1d52e99ac85aa8d65a01e9b77 \
|
|
217
226
|
--hash=sha256:162f4ca894ec3de1a6fd53589e511e06ecdc3ff646849b62a9da7489dee9ce95 \
|
|
@@ -234,7 +243,7 @@ onnxruntime==1.23.2 ; python_full_version < '3.11' \
|
|
|
234
243
|
--hash=sha256:bbfd2fca76c855317568c1b36a885ddea2272c13cb0e395002c402f2360429a6 \
|
|
235
244
|
--hash=sha256:da44b99206e77734c5819aa2142c69e64f3b46edc3bd314f6a45a932defc0b3e \
|
|
236
245
|
--hash=sha256:e2b9233c4947907fd1818d0e581c049c41ccc39b2856cc942ff6d26317cee145
|
|
237
|
-
onnxruntime==1.32.0 ; python_full_version >= '3.11' \
|
|
246
|
+
onnxruntime==1.32.0 ; python_full_version >= '3.11' and sys_platform != 'darwin' \
|
|
238
247
|
--hash=sha256:02ea12a28c069ea8510093d95a7f6ff8126bfd9fc5c0d3381c03b80fb2b424ba \
|
|
239
248
|
--hash=sha256:2303372a85299b6757b0e11e1cbf13e410ddf7e10c37f4b37e99d1c90e7daf7c \
|
|
240
249
|
--hash=sha256:23361cdf98afac352d10aa7d9e0a10ceaeb02d38430fb693c6eff370196db62d \
|
|
@@ -274,48 +283,64 @@ protobuf==7.36.2 \
|
|
|
274
283
|
pyreadline3==3.5.6 ; python_full_version < '3.11' and sys_platform == 'win32' \
|
|
275
284
|
--hash=sha256:61e53218b99656091ddb077df9e71f25850e72e030b6183b39c9b7e6e4f4a9bf \
|
|
276
285
|
--hash=sha256:8449b734232e42a5dcd74048e39b60db2839a4c38cf3ae2bf7707d58b5389c0d
|
|
277
|
-
sentencepiece==0.2.
|
|
278
|
-
--hash=sha256:
|
|
279
|
-
--hash=sha256:
|
|
280
|
-
--hash=sha256:
|
|
281
|
-
--hash=sha256:
|
|
282
|
-
--hash=sha256:
|
|
283
|
-
--hash=sha256:
|
|
284
|
-
--hash=sha256:
|
|
285
|
-
--hash=sha256:
|
|
286
|
-
--hash=sha256:
|
|
287
|
-
--hash=sha256:
|
|
288
|
-
--hash=sha256:
|
|
289
|
-
--hash=sha256:
|
|
290
|
-
--hash=sha256:
|
|
291
|
-
--hash=sha256:
|
|
292
|
-
--hash=sha256:
|
|
293
|
-
--hash=sha256:
|
|
294
|
-
--hash=sha256:
|
|
295
|
-
--hash=sha256:
|
|
296
|
-
--hash=sha256:
|
|
297
|
-
--hash=sha256:
|
|
298
|
-
--hash=sha256:
|
|
299
|
-
--hash=sha256:
|
|
300
|
-
--hash=sha256:
|
|
301
|
-
--hash=sha256:
|
|
302
|
-
--hash=sha256:
|
|
303
|
-
--hash=sha256:
|
|
304
|
-
--hash=sha256:
|
|
305
|
-
--hash=sha256:
|
|
306
|
-
--hash=sha256:
|
|
307
|
-
--hash=sha256:
|
|
308
|
-
--hash=sha256:
|
|
309
|
-
--hash=sha256:
|
|
310
|
-
--hash=sha256:
|
|
311
|
-
--hash=sha256:
|
|
312
|
-
--hash=sha256:
|
|
313
|
-
--hash=sha256:
|
|
314
|
-
--hash=sha256:
|
|
315
|
-
--hash=sha256:
|
|
316
|
-
--hash=sha256:
|
|
317
|
-
--hash=sha256:
|
|
318
|
-
--hash=sha256:
|
|
319
|
-
|
|
286
|
+
sentencepiece==0.2.2 \
|
|
287
|
+
--hash=sha256:046b15ea22d8042e2e173561d464ec3b64a9c2081324df70ebce7bf7ebb3e497 \
|
|
288
|
+
--hash=sha256:0e2aae42960392d6dcb9a72d8e1e65a97294c965071b43c7b3429a42f350250e \
|
|
289
|
+
--hash=sha256:1120e0791540615e650b2e9bea835bf38a7362455d8ab62dee7968219c2d79a0 \
|
|
290
|
+
--hash=sha256:1402d8ee36f0d851cea8eee4dbb85fea14643b7503cf4d00d102eec0fe3ca719 \
|
|
291
|
+
--hash=sha256:1416b92f2f010333786fe6306ed2631121d5ea492219b0841e967b6765e64107 \
|
|
292
|
+
--hash=sha256:16c84ddef8d3084a8af37208acd365b08092ca089080f1a71fbfdd911adda9b3 \
|
|
293
|
+
--hash=sha256:1edb10e520e4bddf74d85b0f5ae74cc2d60c2b448885080bfb618bc2b3a49f6b \
|
|
294
|
+
--hash=sha256:201a8e0f55501a76e08dbf2c54bc45f4642b379271e89c667d517bfbc2191f2a \
|
|
295
|
+
--hash=sha256:252908153eeec06c3ca3a32077e64a49d572e3d89881475b4e0f02d99d9fcc7c \
|
|
296
|
+
--hash=sha256:38111ed1f79268f399c505028023d5eaaf0ab4e5eafceb709468b0d3323e7838 \
|
|
297
|
+
--hash=sha256:3ab3f1ae98970b5590e2209341522718900ba19bcc2c207ffaa6bd417ad960c5 \
|
|
298
|
+
--hash=sha256:3d2b5e824b5622038dc7b490897efe05ebbbb9e7350fc142f3ecc8789ef9bdf6 \
|
|
299
|
+
--hash=sha256:3ec27c152a1f1b24bc9168b55a5880f3c16e2334e697da6f55a1046a22405a3d \
|
|
300
|
+
--hash=sha256:3f5851441ab1ef8634963a5100b733a8bbeefe623e0c5c005b1f1f3880e574cf \
|
|
301
|
+
--hash=sha256:3fd9ce2ab4460c713cfdeb4aca693ca6732a11538e05fb332d5af42e3d7fde25 \
|
|
302
|
+
--hash=sha256:44284adc6fbe9d5bdd480541431a3d93f674fa44736714d3ad4bcee8283ace7d \
|
|
303
|
+
--hash=sha256:443ac618c7a2a1377cf5c82581fbb849591d14e656d5e5a3e4682d4e36a34e4e \
|
|
304
|
+
--hash=sha256:46ba07b543add034de0ff47ac5f907e9a06682f91d85121a972764628933be6b \
|
|
305
|
+
--hash=sha256:4f0603267cd15b92b68c2c0e852a441507614b70dc7773659baa6b8c214a91fd \
|
|
306
|
+
--hash=sha256:524e2a85c028a0d2f9935191fa751e5ef9d9bcc39616f70ab14b28d0369c9936 \
|
|
307
|
+
--hash=sha256:54a83df9260a89c1734256e620fe1f1a6bfedd7547139d4dc1384efac11a3a85 \
|
|
308
|
+
--hash=sha256:59d6588712101ccfcae9b03692be3aaae1514c2078666d7b05f15ba3a702e41b \
|
|
309
|
+
--hash=sha256:63250cfab8b80a1ef82a614eb2b3cadfec2c405f870cedc139d08e2f063eb708 \
|
|
310
|
+
--hash=sha256:64b656f025355cf8c51abe9fbe3848540756c6d7ca5e6791b1afa664bc24c7cb \
|
|
311
|
+
--hash=sha256:65d84ec36888de4a848eee5f910e67fbc79b064685ef1e10a502e14520ead9c9 \
|
|
312
|
+
--hash=sha256:69e9dc8078e128286ed3b975e37c837ba96e215a50c3ef9f3f8b7ab9e5a832a0 \
|
|
313
|
+
--hash=sha256:6dd76f3e5c8b2eb8a3a3efee787bbf5b9a66e52a048fe09cab85eca33fec6790 \
|
|
314
|
+
--hash=sha256:70d4ca6f4d06df7f0ccab6fe4f49c8a712c8c8b6847b4f0af9a0e1dbb0e0337e \
|
|
315
|
+
--hash=sha256:72b7825b331b1b7e7c45be2e674b3e3c65af608fa376bad2d851b20aaf0cdc78 \
|
|
316
|
+
--hash=sha256:741b4b367140e9b5c36b5a14c72179f2c946d991ea9a7c031a2a1ee6ad097b99 \
|
|
317
|
+
--hash=sha256:74f0ee601047c0c12a783088b51be4e6214a62ecd9e02278c477433cd16e0ed9 \
|
|
318
|
+
--hash=sha256:76ff5814db72e7462dece042d7593cdf102b8ec82c2b1cc201a2add34ee3050d \
|
|
319
|
+
--hash=sha256:77c3ce990b23441e5ecfa5bce181fd6f408b564aeb6d7e1d1e7de9c5612501c8 \
|
|
320
|
+
--hash=sha256:79bac5a251f23a7341e28fda9ce0d5319edf45328239ce037c0682936f137906 \
|
|
321
|
+
--hash=sha256:7c6e7bf684dc12145bfa685d3060beaea55139134ba848289bee514ed42e7383 \
|
|
322
|
+
--hash=sha256:7fc14c1585139fa6b68775e616a6b90cf622ebf219f9558c0aeaf5d253ee6c9b \
|
|
323
|
+
--hash=sha256:89625fb43765cccaa1443b9adb61f283e5fe4cb1536728205d06bada730caa53 \
|
|
324
|
+
--hash=sha256:8b2db2056c97224e122054fd794543cde5d24b7cae28424f6e3eb79bbe08e42b \
|
|
325
|
+
--hash=sha256:8d44b20234905ff022b7d535f79d1f823ad7670c9851cc4f03cdc34787cdb3ab \
|
|
326
|
+
--hash=sha256:8eed98514bffe5ecac37f493f91869c351fbb05629328bfdbc08502c6c094dc0 \
|
|
327
|
+
--hash=sha256:8f1f61592e7cabd45d49ce8cc0ef42ca655c091e037153754fb3fa59725b5914 \
|
|
328
|
+
--hash=sha256:b23fe17779834d3c27aaf2edac9486d04cca1a7deb8f5facda35150ac6263a91 \
|
|
329
|
+
--hash=sha256:bc7b0b1da20f856bfac5f84b2673fe534b167e41980b27442ca8f78c2b7eb77e \
|
|
330
|
+
--hash=sha256:c62bd361cec1f5b556eb8210264ecfff37486cd990c3386cc00310f26c54090a \
|
|
331
|
+
--hash=sha256:c76c9b3324efd79029eeb0fd2ced1964bdbeca7d45e030b46fa3ef3cf74f8032 \
|
|
332
|
+
--hash=sha256:c798f0b327bac10dc95cdac77b9a197ab2bd7dd1e60ebd7586a12d918d4be711 \
|
|
333
|
+
--hash=sha256:c8a168b040bc61681293f79a949b5d911c8e25086f4260285b8d97ab5f1195da \
|
|
334
|
+
--hash=sha256:caad9566e2ef0e5640d36032c69b0edc7ac6028277b93d93815898804fac450c \
|
|
335
|
+
--hash=sha256:cbce24284f51f71d10a42b7b9c964dcb9048b28f1c8e5db40bcbcb6f428cba6a \
|
|
336
|
+
--hash=sha256:cd810878180a52950e5a61f25ada5248a453bbdbafe474f89514135fbc1f633d \
|
|
337
|
+
--hash=sha256:d254c98ca6387655400b3959c33c83efd807f5edeb608e3aca45800ceaa77151 \
|
|
338
|
+
--hash=sha256:d795c4ac689a57f9d4ba2288126ec7901d389ad5827d2f8b8533c883974fe563 \
|
|
339
|
+
--hash=sha256:df88b0c34f2fa909d322f7b06b1398e1e81af4b2f42a7b8e3556f928b25d1811 \
|
|
340
|
+
--hash=sha256:eb8da9d9a9b418422c21a07fd19b9d9228692b7a7468a45eec6b11642d3c808b \
|
|
341
|
+
--hash=sha256:f7c06c751c19d923435a54bff4f7e66e728fad160e8da28254f133abc9725820 \
|
|
342
|
+
--hash=sha256:fa9f5ef0e2a82233dd0b8b32ea3f5710e0c44afbc07ed3620219f32601e56090 \
|
|
343
|
+
--hash=sha256:fd523c4992041faa5c2b3cde62253d11a96c30d73a34afe48a486e8e2254cd1c
|
|
344
|
+
sympy==1.14.0 ; python_full_version < '3.11' or sys_platform == 'darwin' \
|
|
320
345
|
--hash=sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517 \
|
|
321
346
|
--hash=sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5
|
|
@@ -22,7 +22,7 @@ from localmodels.tts_model import TtsEngine as TtsEngine
|
|
|
22
22
|
TtsQualityRating = Literal["fast-bilingual", "lightweight-streaming", "high-expressive"]
|
|
23
23
|
|
|
24
24
|
V1_TTS_MODEL_IDS: tuple[str, ...] = (
|
|
25
|
-
"kokoro-v1.
|
|
25
|
+
"kokoro-v1.0-int8",
|
|
26
26
|
"moss-tts-nano-100m",
|
|
27
27
|
"qwen3-tts-0.6b-customvoice",
|
|
28
28
|
"qwen3-tts-1.7b-customvoice",
|
|
@@ -240,7 +240,7 @@ def static_voices(model_id: str, catalog_path: Path = CATALOG_PATH) -> list[TtsV
|
|
|
240
240
|
"""Return static voice metadata for ``model_id`` when no worker is running."""
|
|
241
241
|
spec = tts_model(model_id, catalog_path)
|
|
242
242
|
raw_list: list[dict[str, str]] | None = None
|
|
243
|
-
if spec.id == "kokoro-v1.
|
|
243
|
+
if spec.id == "kokoro-v1.0-int8":
|
|
244
244
|
raw_list = tts_worker_kokoro.kokoro_voice_list()
|
|
245
245
|
elif spec.id == "moss-tts-nano-100m":
|
|
246
246
|
raw_list = tts_worker_moss.moss_voice_list()
|
|
@@ -21,7 +21,7 @@ from localmodels.tts_model import (
|
|
|
21
21
|
)
|
|
22
22
|
|
|
23
23
|
DESCRIPTION = (
|
|
24
|
-
"Manage local text-to-speech models (Kokoro-82M v1.
|
|
24
|
+
"Manage local text-to-speech models (Kokoro-82M v1.0 INT8, MOSS-TTS-Nano-100M, Qwen3-TTS "
|
|
25
25
|
"CustomVoice via speech.cpp, and pluggable TTS backends): "
|
|
26
26
|
"inspect status, list models, download with resumable verification, cancel, remove, configure "
|
|
27
27
|
"preferences, control the standby-first sidecar, list voices, and synthesize audio. Every "
|
|
@@ -55,7 +55,7 @@ def _add_base_dir(parser: argparse.ArgumentParser) -> None:
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def _add_model_arg(parser: argparse.ArgumentParser) -> None:
|
|
58
|
-
parser.add_argument("model", metavar="MODEL", help="TTS model id (e.g. kokoro-v1.
|
|
58
|
+
parser.add_argument("model", metavar="MODEL", help="TTS model id (e.g. kokoro-v1.0-int8)")
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
def _add_json_flag(parser: argparse.ArgumentParser) -> None:
|
|
@@ -110,7 +110,7 @@ def _add_manage_parsers(verbs: argparse._SubParsersAction[argparse.ArgumentParse
|
|
|
110
110
|
dl_p,
|
|
111
111
|
"Download and SHA-256 verify a TTS model into <base-dir>/tts/<model>/ with resumable "
|
|
112
112
|
"byte ranges and region-aware mirrors. Emits localmodels.tts-event/v1 JSONL.",
|
|
113
|
-
examples=[("%(prog)s kokoro-v1.
|
|
113
|
+
examples=[("%(prog)s kokoro-v1.0-int8 --jsonl", "")],
|
|
114
114
|
)
|
|
115
115
|
|
|
116
116
|
cancel_p = verbs.add_parser("cancel", help="cancel an active TTS download (JSON)")
|
|
@@ -139,9 +139,7 @@ def _resolve_backend_engine(
|
|
|
139
139
|
include_gpu: bool,
|
|
140
140
|
facts: HostFacts | None,
|
|
141
141
|
) -> ReleaseEngine | None:
|
|
142
|
-
backend = tts_workers.
|
|
143
|
-
if backend is None:
|
|
144
|
-
return None
|
|
142
|
+
backend = tts_workers.get_backend(spec.engine, spec.id)
|
|
145
143
|
return backend.resolve_engine(spec, base_dir, include_gpu=include_gpu, facts=facts)
|
|
146
144
|
|
|
147
145
|
|
|
@@ -74,7 +74,7 @@ TtsEngine = Literal["sherpa-onnx", "onnxruntime", "speech.cpp"]
|
|
|
74
74
|
TTS_ENGINES: tuple[TtsEngine, ...] = ("sherpa-onnx", "onnxruntime", "speech.cpp")
|
|
75
75
|
|
|
76
76
|
CANONICAL_TTS_MODEL_IDS: tuple[str, ...] = (
|
|
77
|
-
"kokoro-v1.
|
|
77
|
+
"kokoro-v1.0-int8",
|
|
78
78
|
"moss-tts-nano-100m",
|
|
79
79
|
"qwen3-tts-0.6b-customvoice",
|
|
80
80
|
"qwen3-tts-1.7b-customvoice",
|
|
@@ -113,8 +113,8 @@ FALLBACK_REASONS: tuple[FallbackReason, ...] = (
|
|
|
113
113
|
"no_supported_gpu",
|
|
114
114
|
)
|
|
115
115
|
|
|
116
|
-
DEFAULT_MODEL_ID = "kokoro-v1.
|
|
117
|
-
DEFAULT_VOICE = "
|
|
116
|
+
DEFAULT_MODEL_ID = "kokoro-v1.0-int8"
|
|
117
|
+
DEFAULT_VOICE = "zf_xiaoyi"
|
|
118
118
|
DEFAULT_SPEED = 1.0
|
|
119
119
|
MIN_SPEED = 0.5
|
|
120
120
|
MAX_SPEED = 2.0
|