diff --git a/.gitattributes b/.gitattributes index a0d3d6cb46599680db39526d2b53d2f00f58190a..4b89702440be89fb54d31572cdba7841cc4b9de0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -77,3 +77,11 @@ samples/tanglish_arjun.wav filter=lfs diff=lfs merge=lfs -text samples/tanglish_payal.wav filter=lfs diff=lfs merge=lfs -text samples/tanglish_sanjana.wav filter=lfs diff=lfs merge=lfs -text samples/tanglish_vishnu.wav filter=lfs diff=lfs merge=lfs -text +samples/en_agent_amelia.wav filter=lfs diff=lfs merge=lfs -text +samples/en_agent_ethan.wav filter=lfs diff=lfs merge=lfs -text +samples/en_agent_harper.wav filter=lfs diff=lfs merge=lfs -text +samples/en_agent_oliver.wav filter=lfs diff=lfs merge=lfs -text +samples/en_sorry_amelia.wav filter=lfs diff=lfs merge=lfs -text +samples/en_sorry_ethan.wav filter=lfs diff=lfs merge=lfs -text +samples/en_sorry_harper.wav filter=lfs diff=lfs merge=lfs -text +samples/en_sorry_oliver.wav filter=lfs diff=lfs merge=lfs -text diff --git a/CHANGELOG.md b/CHANGELOG.md index 85aca0fad3ba2499b878e471eb9e8f0517b4a189..9acf0261dd36be72d4c2e5feedfac658acf47abe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 0.4.0 (2026-11-10) + +- **English voices with American and British accents:** + - `harper` and `ethan` (American), `amelia` and `oliver` (British), for `lang="en"`. + - They run on Kokoro-82M (Apache-2.0, in `kokoro/`) behind the same API, so streaming, output checks, phone formats + and the server all work with them. + - Using one of them with another language returns a clear error. +- **Model card:** a CPU comparison with Mithi, goonj, Kokoro, Piper and MMS-TTS, and an English-accents samples table. +- **Tests:** `tests/check_release.py` has 22 checks and `tests/test_server.py` has 25. +- **Requirements:** adds `kokoro` and `loguru`. + ## 0.3.0 (2026-11-09) - **Tanglish** (`lang="tanglish"`): romanised Tamil plus English, read in Tamil. diff --git a/Dockerfile b/Dockerfile index e08909e53ac3d97c6386ee75cb1f52f5ee96b3c5..975d2d3d0b1fb2b18b41262222f5054af86d5494 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Voxi Lite server image (CPU). Build from the release folder: -# docker build -t voxi-lite:0.3.0 . -# docker run --rm -p 8080:8080 -e VOXI_THREADS=4 voxi-lite:0.3.0 +# docker build -t voxi-lite:0.4.0 . +# docker run --rm -p 8080:8080 -e VOXI_THREADS=4 voxi-lite:0.4.0 # One model per container; scale with more containers (about 1.5 GB RAM each). Nothing is downloaded at runtime. FROM python:3.11-slim diff --git a/MANIFEST.json b/MANIFEST.json index 02972cb23f0c88cb2224a7188422d5fff6ca1a9d..2a263bd84f44f7434e000556c7e4ea5f16d12cc2 100644 --- a/MANIFEST.json +++ b/MANIFEST.json @@ -1,14 +1,14 @@ { "name": "voxi-lite", - "version": "0.3.0", - "onnx_logmel_l1": 0.0381, + "version": "0.4.0", + "onnx_logmel_l1": 0.0383, "files": { ".dockerignore": "254b095cf3ce7c01084350dbd03c9524ab82c6abe906dd9fabd5a86639687966", - "banner.png": "d72043e6b5a6b87034adfd832c340a57274af58a69c66365abd839455e568bda", - "CHANGELOG.md": "1a2cb926c07b77c3df71956122f19cbe127f5a9602c204ac1816b0b5a71cba95", - "config.json": "7c426b8b31bfa1d09e7a9210d68a3c44b16c9da32af12dbd3593af9447509fe6", + "banner.png": "cb4f4e38c924c943245af93d971764baa17b4e8d4d1d3c58c27f413e3e982d23", + "CHANGELOG.md": "726d626efdec279995614f32674e6ca072a9fc39e510b09066b1982ddada891f", + "config.json": "00efeb54cff408702188c3a4e8c6b6bf3dc680ba5dcd1b581f66b672cbea55ba", "decoder.safetensors": "4a5e3d638d4ee403365d05883c26745463407cb993f32b0b9929d674b956c5e2", - "Dockerfile": "b224b81ca7515e33ef78d230d991dc14e616eb8e72013cea47e8645352517242", + "Dockerfile": "6b9ffdeb7334f3ad8fac73b9a83d943598a830080af20bdc662ac7cd9b506c22", "fast/decoder.onnx": "dde72786f10785304810659fb51e007e3ac5e2708122ac8f5e3ead45b616885c", "fast/exact_stft.py": "c9109e8023c3088cb328babfbd1934a3a0ca3c04f094097ac5d822d2739b7d69", "fast/fast_mithi.py": "208e5e5be6d5c554079aa41ec516337421fc34257de5ea07426e0ad10fbdde02", @@ -24,6 +24,12 @@ "indic_encoder/model.safetensors": "839472b327c09e1d68d235c654e20e1ebe9d0101f41b9bc22f31fe9032f6ff9c", "indic_encoder/old2new.npy": "5aafbba764e27ff63fad04dbb5a297cc00fb01cb63b29a0efcd4a532a8d3aa54", "indic_encoder/spiece.model": "3a1173c2b6e144a02c001e289a05b5dbefddf247c50d4dcf42633158b2968fcb", + "kokoro/config.json": "5abb01e2403b072bf03d04fde160443e209d7a0dad49a423be15196b9b43c17f", + "kokoro/kokoro-v1_0.pth": "496dba118d1a58f5f3db2efc88dbdc216e0483fc89fe6e47ee1f2c53f18ad1e4", + "kokoro/voices/af_heart.pt": "0ab5709b8ffab19bfd849cd11d98f75b60af7733253ad0d67b12382a102cb4ff", + "kokoro/voices/am_michael.pt": "9a443b79a4b22489a5b0ab7c651a0bcd1a30bef675c28333f06971abbd47bd37", + "kokoro/voices/bf_emma.pt": "d0a423deabf4a52b4f49318c51742c54e21bb89bbbe9a12141e7758ddb5da701", + "kokoro/voices/bm_george.pt": "f1bc812213dc59774769e5c80004b13eeb79bd78130b11b2d7f934542dab811b", "kokoro_config.json": "5abb01e2403b072bf03d04fde160443e209d7a0dad49a423be15196b9b43c17f", "LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", "mithi_tts/__init__.py": "5624e95e635fa26ad6a32a4d627d9c932880b472306642b96ffffdc00bb06deb", @@ -48,18 +54,18 @@ "mithi_tts/text_norm/tn/tts_chunker.py": "6ad313fa5bff97512d07db5164664802c9c9f887dd835e8ad5bc8d814657ff58", "mithi_tts/tts.py": "b8b285691d90951ec414b1b8754c2f856dd2a7dfae3ba2de20ef7917fd7b17cb", "mithi_tts/vocab.json": "51644d6993cbaa1ffa552cc73e4478218cf17ec5e5df7c5d12da38882425182a", - "NOTICE": "fea4715678399e33be5a3663e85c83898ae718461085f8458c25c66f2afbfc38", - "README.md": "1157c05b71331c0cb5f71edf909e6c451102b5627d5d42f8b58ad661dd00af73", - "requirements.txt": "b520499f8496cdfaa5a08aa1a326503c4e8bb0f3faf4befce582f72dee28d3d3", - "server.py": "2202f43f05f4df647da7bd237a30877dd79e16886257b329c720e3b313bfd89f", - "tests/check_release.py": "614db8162a2bd2b2e86e4fa1039450834bf1b7d93ec7d2a4c412027d8b549cd3", + "NOTICE": "d4110f1134e9ab745c7e86300e91fb4a2a6bc9b66dce46d1a8b78a9cdc0ae96f", + "README.md": "d28a7f457533ed0bc40b7678423afc3e384c40112f9cc0a9ad72589f9939915a", + "requirements.txt": "40b81818a5d13775c42ee25883d856b217d60e3ede33cbe0e59d1305fd529904", + "server.py": "7f238e27d5a554aca9862c8c18f4206b3191b8c5ee2e0f34a9dc1342e37e5aae", + "tests/check_release.py": "9e9f290d31dbf9cc77702d610b30702b0d434f7c22acf4c682c593eea57c0a72", "tests/fuzz.py": "6047f10fdff1aa0f90ae45029c1947bc700bc25e273e915e49afded91c9c49af", "tests/latency.py": "95ca568b33f32a5352641ad10522db144d2e5a9cc975e05fa5e906e8aace8027", - "tests/test_server.py": "6206be0f652018733023f4e5403424e6c10c7169aef7b5bd05c8bae5bee0fd43", + "tests/test_server.py": "90beb58455d388aad6f33337f8af9bbd64206e5968dd4ccf175bcda358652d41", "voices.safetensors": "873834845c3582abf54e715eaf247f75e3fc16830eb3c45ad7760aefa6dc9d34", - "voxi.py": "2f3a62dc1e0337b85dea8e77011ace4606de6376a86cf6098027d15edf1bf7bd", + "voxi.py": "c96ceaea9944edcb2886948cea235f10466fed9ac6429984873ecbbadc8f9d43", "warm_phrases.json": "015fff2d4b1ef95191bb31f0d5d12e7e22b12e47aab5d45cc9c3e8bd1b479350", - "writer.safetensors": "52b9438c18bfb89fee98118a8762bba1963ed38b8c480243292330c06125b4af", - "writer_arjun.safetensors": "c20d826de4b2dc1f56b27242f5d8d8744dcab49c3e7593f62faad9b8dcdaf3ca" + "writer.safetensors": "ffa4dfc97e1284847bdfd4f3658308f62789b1f708829f0141b47673d86576fe", + "writer_arjun.safetensors": "6fa673cdace2f146f79596688f7b98a5cfd39a83b346b3ab7fe48fc7d9a94b04" } } \ No newline at end of file diff --git a/NOTICE b/NOTICE index 4623916ba27d19b5e6f482971f6a84e79abca7c1..2d67d356559ab81b3bcfc3a4d09b89009949a7c6 100644 --- a/NOTICE +++ b/NOTICE @@ -19,6 +19,12 @@ Modifications made by Voxi (Apache-2.0, section 4(b)): - Added fast/: NumPy prosody-writer step and an ONNX export of Mithi's decoder (same weights, exact STFT). - config.json: renamed, versioned and extended with the voice list; inference settings unchanged. +English voices with American and British accents (kokoro/): + - Kokoro-82M v1.0 by hexgrad (https://huggingface.co/hexgrad/Kokoro-82M), Apache-2.0: kokoro-v1_0.pth, config.json + and four voice packs, unmodified. Voxi names: "harper" is Kokoro's "af_heart", "ethan" is "am_michael" (American), + "amelia" is "bf_emma" and "oliver" is "bm_george" (British). They run through the kokoro Python package + (Apache-2.0) and misaki G2P (Apache-2.0). See Kokoro's model card for its training data. + Training data and sources for Voxi's changes: - The "payal" and "arjun" voices and the number fine-tune were learned from speech generated by Maya 2 Native (https://huggingface.co/maya-research/maya2-native, Apache-2.0), built-in voices "Ahana" (payal) and "Siddhant" diff --git a/README.md b/README.md index fa17e9ebb7de5a72ed3609654d0abc7b2c338391..4480cfbb42a98bc111169b2217f5ac3b5b3e1c41 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ tags: [text-to-speech, indic, cpu, phone-agent, streaming] ![Voxi Lite: Indian phone-agent voices that run on a CPU](banner.png) -# Voxi Lite 0.3.0 +# Voxi Lite 0.4.0 CPU text-to-speech for Indian phone-agent calls, with streaming. Voxi Lite is built on [Mithi v1 Flash](https://huggingface.co/Oomni/mithi-v1-flash) (Apache-2.0) with our own fine-tuned prosody writers @@ -22,9 +22,13 @@ and voices; see `NOTICE`. **Status: release candidate.** See *Before production* | `arjun` | Male, clear and professional. | | `payal@