Voxi Lite 0.4.1: Hindi front-end fixes (nasal vowels before v/s/sh/h/y/r/l, closing punctuation); AI4Bharat IndicVoices-R Hindi CER 0.087 -> 0.084; weights unchanged
Browse filesFiles changed (43)
- CHANGELOG.md+12
- MANIFEST.json+6-6
- README.md+3-3
- config.json+2-2
- samples/en_arjun.wav+1-1
- samples/en_payal.wav+1-1
- samples/en_sanjana.wav+1-1
- samples/en_vishnu.wav+1-1
- samples/hi_arjun.wav+1-1
- samples/hi_payal.wav+1-1
- samples/hi_sanjana.wav+1-1
- samples/hi_vishnu.wav+1-1
- samples/hinglish_arjun.wav+1-1
- samples/hinglish_payal.wav+1-1
- samples/hinglish_sanjana.wav+1-1
- samples/hinglish_vishnu.wav+1-1
- samples/numbers_en_arjun.wav+1-1
- samples/numbers_hi_payal.wav+1-1
- samples/numbers_ta_payal.wav+1-1
- samples/phone_8k_en_arjun.wav+1-1
- samples/phone_8k_hi_payal.wav+1-1
- samples/phone_8k_ta_payal.wav
- samples/style_arjun_happy_en.wav+1-1
- samples/style_arjun_happy_hi.wav+1-1
- samples/style_arjun_happy_ta.wav+1-1
- samples/style_arjun_sad-soft_en.wav+1-1
- samples/style_arjun_sad-soft_hi.wav+1-1
- samples/style_arjun_sad-soft_ta.wav+1-1
- samples/style_payal_happy_en.wav+1-1
- samples/style_payal_happy_hi.wav+1-1
- samples/style_payal_happy_ta.wav+1-1
- samples/style_payal_sad-soft_en.wav+1-1
- samples/style_payal_sad-soft_hi.wav+1-1
- samples/style_payal_sad-soft_ta.wav+1-1
- samples/ta_arjun.wav+1-1
- samples/ta_payal.wav+1-1
- samples/ta_sanjana.wav+1-1
- samples/ta_vishnu.wav+1-1
- samples/tanglish_arjun.wav+1-1
- samples/tanglish_payal.wav+1-1
- samples/tanglish_sanjana.wav+1-1
- samples/tanglish_vishnu.wav+1-1
- voxi.py+21
1234567891011121314151617# Changelog
## 0.4.1 (2026-11-11)
- **Hindi pronunciation fix (nasal vowels):** espeak-ng adds a stray `n` after a nasal vowel before v, s, sh, h, y, r and l (गाँव came out as ɡˈãnʋ, माँसाहारी as mˈãnsaːhˌaːɾi). Voxi now removes it. Before stops (पाँच) the `n` is real and stays.- **Final punctuation:** a sentence with no closing mark gets one (`।` for Hindi, `.` otherwise). Without it the writer sometimes dropped or garbled the last word.- `VOXI_FIXES=""` turns both fixes off, for A/B tests.- **Measured** (Whisper large-v3 character error rate, payal): AI4Bharat IndicVoices-R Hindi test lines 0.087 → 0.084; Tamil, English, Hinglish and the phone-agent lines unchanged.- No weight changes: the writer, voice packs and decoder are the same as 0.4.0.
## 0.4.0 (2026-11-10)
- **English voices with American and British accents:**123434567898910111242 unmodified lines55565758585960611 unmodified line6364656666676869{
"name": "voxi-lite",
"version": "0.4.0",
"onnx_logmel_l1": 0.0383,
"version": "0.4.1",
"onnx_logmel_l1": 0.0385,
"files": {
".dockerignore": "254b095cf3ce7c01084350dbd03c9524ab82c6abe906dd9fabd5a86639687966",
"banner.png": "cb4f4e38c924c943245af93d971764baa17b4e8d4d1d3c58c27f413e3e982d23",
"CHANGELOG.md": "726d626efdec279995614f32674e6ca072a9fc39e510b09066b1982ddada891f",
"config.json": "00efeb54cff408702188c3a4e8c6b6bf3dc680ba5dcd1b581f66b672cbea55ba",
"CHANGELOG.md": "cc5bb5f9c0f3e89cb92ee2f068462b2fd805647b9d122a076955445b3b3488f1",
"config.json": "71d2a0811fd8f68c117232c58603d47c0e91d7031dc1cf1e30a4e5e62a4499d5",
"decoder.safetensors": "4a5e3d638d4ee403365d05883c26745463407cb993f32b0b9929d674b956c5e2",
"Dockerfile": "6b9ffdeb7334f3ad8fac73b9a83d943598a830080af20bdc662ac7cd9b506c22",
"fast/decoder.onnx": "dde72786f10785304810659fb51e007e3ac5e2708122ac8f5e3ead45b616885c",42 unmodified lines "mithi_tts/tts.py": "b8b285691d90951ec414b1b8754c2f856dd2a7dfae3ba2de20ef7917fd7b17cb",
"mithi_tts/vocab.json": "51644d6993cbaa1ffa552cc73e4478218cf17ec5e5df7c5d12da38882425182a",
"NOTICE": "2aeeb7c5c6975161d8a9ccb0cfc81b6efe39322ff892b71d1680b1fd3fa35a63",
"README.md": "64c583b02736c652208182c7f6d7050d3c0d70c98da13841e87325c52547d65b",
"README.md": "84b703c3213efacf0d3dc396922b37c4374366163825024fbc57e3f7653c154e",
"requirements.txt": "40b81818a5d13775c42ee25883d856b217d60e3ede33cbe0e59d1305fd529904",
"server.py": "7f238e27d5a554aca9862c8c18f4206b3191b8c5ee2e0f34a9dc1342e37e5aae",
"tests/check_release.py": "9e9f290d31dbf9cc77702d610b30702b0d434f7c22acf4c682c593eea57c0a72",1 unmodified line "tests/latency.py": "95ca568b33f32a5352641ad10522db144d2e5a9cc975e05fa5e906e8aace8027",
"tests/test_server.py": "90beb58455d388aad6f33337f8af9bbd64206e5968dd4ccf175bcda358652d41",
"voices.safetensors": "873834845c3582abf54e715eaf247f75e3fc16830eb3c45ad7760aefa6dc9d34",
"voxi.py": "c96ceaea9944edcb2886948cea235f10466fed9ac6429984873ecbbadc8f9d43",
"voxi.py": "3677cde4369b6a92e35479c4d2354caf26282a6bca6efc6d9b1f13a0c705748e",
"warm_phrases.json": "015fff2d4b1ef95191bb31f0d5d12e7e22b12e47aab5d45cc9c3e8bd1b479350",
"writer.safetensors": "ffa4dfc97e1284847bdfd4f3658308f62789b1f708829f0141b47673d86576fe",
"writer_arjun.safetensors": "6fa673cdace2f146f79596688f7b98a5cfd39a83b346b3ab7fe48fc7d9a94b04"7 unmodified lines89101111121314151 unmodified lines1661671681691701691701711721737 unmodified lines

# Voxi Lite 0.4.0# Voxi Lite 0.4.1
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 writers151 unmodified lines## Run the server
```bashdocker build -t voxi-lite:0.4.0 .docker run --rm -p 8080:8080 -e VOXI_THREADS=4 voxi-lite:0.4.0docker build -t voxi-lite:0.4.1 .docker run --rm -p 8080:8080 -e VOXI_THREADS=4 voxi-lite:0.4.1# or without Docker (Python 3.11):pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txtVOXI_WARM=warm_phrases.json uvicorn server:app --host 0.0.0.0 --port 80801233456130 unmodified lines137138139140140141142{
"name": "voxi-lite",
"version": "0.4.0",
"version": "0.4.1",
"sample_rate": 24000,
"languages": [
"hi",130 unmodified lines "version": "1.0.0",
"license": "Apache-2.0",
"ours": "prosody writer (fine-tuned: payal voice, Hindi phone-agent numbers, emotion styles from AI4Bharat Rasa) and voice packs (payal, its emotion textures)",
"unchanged": "Kokoro decoder, indic-bert word encoder, code"
"unchanged": "Mithi's decoder (Kokoro architecture, fine-tuned by Oomni), indic-bert word encoder"
}
}1223version https://git-lfs.github.com/spec/v1oid sha256:78204ee3c37313aba1f52f7178f2513dd7a80d8e2f320df1a5a4b9def79922f6oid sha256:8dad4bd6ade08f93896e1079acc235995d7875653bd6c8b81162dd446b13fcc6size 3288441223version https://git-lfs.github.com/spec/v1oid sha256:c3cb9604018d1c1f1845c53c598d906b49cc4702fda1c3822fb908b33fe2153doid sha256:0182ac40a891a7a6c86fd467020f04bde08a8e321e8d5ebeeca3ee66f45da11asize 3468441223version https://git-lfs.github.com/spec/v1oid sha256:8c2af5201045a0c140ff1e26ee8246f8a05a5682e78965ab57d5c50faa0af326oid sha256:8e6d708745dad97ac0dc3329a96dff19b2390a9e946552eb66fda14a1373c4f5size 3612441223version https://git-lfs.github.com/spec/v1oid sha256:f39eb2ba3e7e49631209e9220fb723b6613bb1352e7cd0ba42e3fad7fbe376e2oid sha256:f6a0542ee08c75e8ea95493b257e353c3b88912a62775ca788900637d7d121e7size 3408441223version https://git-lfs.github.com/spec/v1oid sha256:6da9b96612fe55e1a8d7f1776c1ee972babd7714852cbfb9a4b46b96899a669coid sha256:c68df6b1a0cb7fd5f3899c6d5a3bb98716087a75629514028d25f99f3f36c908size 3360441223version https://git-lfs.github.com/spec/v1oid sha256:2f8124d48c38a955905f19f1d009cd079a983e9de875ec2d4849031bc5721bedoid sha256:cf267473aacf5dce86baea6d7f7953fb880f471cf83ac5179cf5846a1b4eeb45size 3360441223version https://git-lfs.github.com/spec/v1oid sha256:f5e68ae660d4ed7c8b6d41a5313ad16b46aefaaa6dd86915678a0c5b91d1dd7boid sha256:c2b0602069ad9c819cfb5529ae515ff67bd7e56d3ca5c301a160fdeacd7c885dsize 3444441223version https://git-lfs.github.com/spec/v1oid sha256:97170fc592df567af6e0489952857b8edd541ef23a0296bcb7de3cb271d34410oid sha256:8802c5419a0fa7fa03855b5e5acffd6f5ee7c0531dda06e21e5586a64ca9f347size 3312441223version https://git-lfs.github.com/spec/v1oid sha256:ab5161c13bd11e04ddd954d5af4a6d6e2690a62cd804d43c572a69a39fbb4cbdoid sha256:98f4d20d70998b45e531b0ea7ae90be1d1b9c583e4828e96e3113c240f915f06size 2304441223version https://git-lfs.github.com/spec/v1oid sha256:57da0bbb1a85e81e8c85f5b5b2a725ccecac70c240d8a9f65ecf347d9c8fd2d5oid sha256:809ec66a6acc4b9ac9f7ea4ec0b615e2e2c3d9f8f29b9958ee81fa85c251f2b7size 2364441223version https://git-lfs.github.com/spec/v1oid sha256:5d25a1dc802d0169d8a25ea6d1b31bbfe649e9d0ff4c6e6af110943832846df0oid sha256:f2d52f9a375166cea8e208b609052e5bfa9c2e61e2e678541c781a5837cef6dasize 2676441223version https://git-lfs.github.com/spec/v1oid sha256:a49c67c77853bbfd09d3cd202e028befea20379fd537c8017c6568a64c45f7caoid sha256:e20442136feca7328fe1493eb8f2dc95bfbd600e4b871bc0b854ea1a156153edsize 2496441223version https://git-lfs.github.com/spec/v1oid sha256:8137d4ee3e8b9b7ea599f5b015e23feae3ce2fb5438e7e8a1780e1a339e7619aoid sha256:4f128c93c1a26bc0f7252efb91a5d82f0aeb7daa8f071dc613f310ce9e8aa045size 7836441223version https://git-lfs.github.com/spec/v1oid sha256:3cdf9275f4247cc1b47ba3c9d8b401c43d7a0afb2e754d9af164b030bf851983oid sha256:41e849fd7a493e4b66bb41df135dc379fe5cdf32e2620368678861cf58c618a9size 6864441223version https://git-lfs.github.com/spec/v1oid sha256:46b6a63d323cf0b3267c616357b11fde2adfc20440c1fe144f287b273129cd05oid sha256:6bc810c9609eec25a2f0b2d081aa7261fcc780570cc84d990f20076ed2ca4456size 8580441223version https://git-lfs.github.com/spec/v1oid sha256:08ba1c87d78dbe33471d5831c020974e1a956be496742e2472e429336b64e195oid sha256:53f43d40682d7a90263dfa0e29c7150f00672d9e8deb23c454c22058aaf16cdcsize 1096441223version https://git-lfs.github.com/spec/v1oid sha256:76f0b0931e96c07c917882d32486d8b7047ab691bc9004cdb8fb3f27fd103c95oid sha256:8d94b9b4af36c1c659298ec60143f5a66cf4a23c56ab76c5fcba7f0828401018size 1120441223version https://git-lfs.github.com/spec/v1oid sha256:1072a9336d4b114c7f0de9cff4f7c45488a14bb89b8f32b76f5ff3d22da223cfoid sha256:c9e2f3492def2155ec5efe36ada0e096c5c3f36c3132be81237eb319e5160653size 2400441223version https://git-lfs.github.com/spec/v1oid sha256:441c406f51d3e833b2cbaaa1753b99de4ba96078a237a1f82545c8c1da8c133aoid sha256:9eac6356175a3bead452f6ac794058900196e91be25c8ef54efb1eb0795e96b0size 2328441223version https://git-lfs.github.com/spec/v1oid sha256:090125ae7d9a921bf94cd94434e30e2322373bde7e5f80e60aae8006aa176889oid sha256:9f666e69f3e411d70b5aaaee0f2858374b050a71a86a44ad36b9c62462b4ae51size 2352441223version https://git-lfs.github.com/spec/v1oid sha256:d2d037c2f647698737c9af17be98a480821a4c91b7abac0b84fdc94e2a0ed568oid sha256:837d5353a630279b89f597e00817d13dd4172c2d22aa6303ed6cf560da9189e0size 1812441223version https://git-lfs.github.com/spec/v1oid sha256:a71ff8e0a6e53f37be2fb1db2f1e0c3f6c39f67f2b0f0c47640932cadc2dd7f1oid sha256:65c91ca3ab7c855781651bf6ac67b6b0a9f87d6d0e7d69740415ed415dcf729bsize 1836441223version https://git-lfs.github.com/spec/v1oid sha256:cf8de5927e58b2d4720049ccf8881b73bbf3ee61bacebf55f60748898c88c08doid sha256:f5f721a6b3d7f257175eb2f3113698b909b1798ba2e6628583a7a010d3696661size 2004441223version https://git-lfs.github.com/spec/v1oid sha256:187dc67d5d8df8a103a3364326913fe07aa4d4b99657dff4ff89081257a1f851oid sha256:eeeacc68cc3341a26c8c0a036e9f2bbd48dd64b6b6ea82ba61a884e14bc64389size 2532441223version https://git-lfs.github.com/spec/v1oid sha256:42f629458c15c8349995d87586b6e25a9fd43f1dfe5b4945cacceb3c09b7b4f2oid sha256:11d9c621f57d8cf1170dfa6b2e197d05398a5a582060afa4754e16f71b9c93e8size 2712441223version https://git-lfs.github.com/spec/v1oid sha256:1aa033dee9bb169791db7b8dcfc69ce90b4d81c4870a31ed4c7a1a5b252cbd38oid sha256:bd5a3a9c614a0d399c6e6ab2fd46f3201e230261091af3513a697b4d8363ca72size 2520441223version https://git-lfs.github.com/spec/v1oid sha256:ccb29589c0b6fb03aaf507a1466e3a17e915453bc6466fa8530ac5a5df311d16oid sha256:fbf46f1a50b4c61d4a36c111436f9dc338cab42c7c0d46d808eda6f9e393134bsize 1956441223version https://git-lfs.github.com/spec/v1oid sha256:7710bb58efc925e90de8b35783fe5df8c4f9f25666ed52dd3d46e5bacee40884oid sha256:130bfd69eb302295ee305338fe1af335ec92fd76dd8d7af3f70210b122a7a94dsize 2052441223version https://git-lfs.github.com/spec/v1oid sha256:36bb86c5b9f480c549743e6754b105cc8cc36cca92bca080aac278584dada0b4oid sha256:f2e0bda5f193fd179392090dee74bf2ff147ffd18373b94b4d7168400a83d946size 2100441223version https://git-lfs.github.com/spec/v1oid sha256:cc559246831fb494aed9a24b1698d822664e3d3d1c6f8944400be74ccc8b4e57oid sha256:75431b183914206ca0b16026444b93eabf5316a5bf2f7a58c77980b74ffd2e13size 2328441223version https://git-lfs.github.com/spec/v1oid sha256:bf227f9a60c01a76442f5be74702d5900dbba8cb3035a06df540aaaec8021937oid sha256:7c4c6c3de820022b3acb51611a8b7717ecbd8e70b5e721db7c93ae0e5598f522size 2484441223version https://git-lfs.github.com/spec/v1oid sha256:6bdef4eae1d0d2f6e095853e36a430a0bf06cf0e86ec58eddba1ecf01b5f23edoid sha256:362a8f7e6361b7c6f706bac896ce6cf39f8a66f9f79c4d75a6d42583d003ce46size 2568441223version https://git-lfs.github.com/spec/v1oid sha256:38bfeb0ba508841ace1559098f05cdc6a2af4f721ecc36c02ea0387eb567b1e8oid sha256:34a567cf2a156dd0930b7d960d0096900584a46420cb561f018aeca751af1d7dsize 2436441223version https://git-lfs.github.com/spec/v1oid sha256:bfd978dfc01b58fa8ebb39db7e92826a0810002adbd1aef20233acff136cbbe3oid sha256:83f036e66a31b5c34f0c250cac6be70ec69a64658046bcd79f5a70c01fccf1ffsize 2280441223version https://git-lfs.github.com/spec/v1oid sha256:8213145f74c27e821f2d0795e58a670aa7438fa3607acc0e06019ecd8edd925eoid sha256:37b0e622fdb052ce88fda1af77926d33c74a0cee07f6fa92d7d323f91c281e79size 2232441223version https://git-lfs.github.com/spec/v1oid sha256:22f3495489f573e632295334194a91a1d398ed704259a27ceebc2f7773e03a73oid sha256:a91c2f61de6182ccb09dd48088c2b78dfaec1b85692bd2008e83758754ff1606size 2568441223version https://git-lfs.github.com/spec/v1oid sha256:c766edc4ce216b5aa9eab42e9afbf0c917fe24b84c4d295b31f5a87efc79594doid sha256:3aaf5ea9aa369a8c0eefcb510482393ab13761195039fbcde373dc4cdb00676bsize 23644419 unmodified lines202122232425264 unmodified lines3132333435363738394041424344454647484950154 unmodified lines20520620720820921021121221321444 unmodified lines25926026126226326426526619 unmodified lines "hinglish" (front/hinglish_front.py) * Mithi's own normaliser, G2P, prosody writer and decoder (fast path: NumPy writer + ONNX decoder)"""import osimport reimport sysimport unicodedata4 unmodified linesHERE = Path(__file__).resolve().parentSR = 24000MAX_CHARS = 2000# Front-end fixes (2026-11-10, from the AI4Bharat benchmark failures); VOXI_FIXES="" turns them off for A/B testsFIXES = {f for f in os.environ.get("VOXI_FIXES", "nasal,endpunct").split(",") if f}NASAL_N = re.compile(r"(̃ː?)n(?=[ʋsʃhjɾl])") # espeak hi: nasal vowel + stray n before v/s/sh/h/y/r/lEND_MARK = {"hi": "।", "ta": ".", "en": ".", "hinglish": ".", "tanglish": "."}
def fix_nasal(phonemize_hi): """espeak-ng writes गाँव (village) as ɡˈãnʋ: an n after the nasal vowel that a speaker does not say (heard as "gaaun"); before stops (पाँच -> pãnc) the n is real and stays.""" def wrapped(chunk): return NASAL_N.sub(lambda m: m.group(1), phonemize_hi(chunk)) return wrapped
MITHI_LANGS = {"hi", "en", "bn", "gu", "kn", "ml", "mr", "or", "pa", "ta", "te"}SENT_END = re.compile(r"(?<=[.?!।॥])\s+")CLAUSE_END = re.compile(r"(?<=[,;:])\s+")154 unmodified lines torch.set_num_threads(threads) from mithi_tts import Mithi self.tts = Mithi(str(model_dir), device="cpu") if "nasal" in FIXES: from mithi_tts import frontend if not getattr(frontend._phonemize_hi, "voxi_fixed", False): frontend._phonemize_hi = fix_nasal(frontend._phonemize_hi); frontend._phonemize_hi.voxi_fixed = True from hinglish_front import digits_en, hinglish from numbers_front import speak from tanglish_front import tanglish44 unmodified lines if len(text) > MAX_CHARS: raise ValueError(f"text longer than {MAX_CHARS} characters; split it upstream") text = clean(text) if "endpunct" in FIXES and text and re.search(r"\w$", text): text += END_MARK.get(lang, ".") # without a final mark the writer sometimes drops or garbles the last word if lang == "hinglish": return self._hinglish(text), "hi" if lang == "tanglish":CHANGELOG.md+12
MANIFEST.json+6-6
README.md+3-3
config.json+2-2
samples/en_arjun.wav+1-1
samples/en_payal.wav+1-1
samples/en_sanjana.wav+1-1
samples/en_vishnu.wav+1-1
samples/hi_arjun.wav+1-1
samples/hi_payal.wav+1-1
samples/hi_sanjana.wav+1-1
samples/hi_vishnu.wav+1-1
samples/hinglish_arjun.wav+1-1
samples/hinglish_payal.wav+1-1
samples/hinglish_sanjana.wav+1-1
samples/hinglish_vishnu.wav+1-1
samples/numbers_en_arjun.wav+1-1
samples/numbers_hi_payal.wav+1-1
samples/numbers_ta_payal.wav+1-1
samples/phone_8k_en_arjun.wav+1-1
samples/phone_8k_hi_payal.wav+1-1
samples/phone_8k_ta_payal.wav
samples/style_arjun_happy_en.wav+1-1
samples/style_arjun_happy_hi.wav+1-1
samples/style_arjun_happy_ta.wav+1-1
samples/style_arjun_sad-soft_en.wav+1-1
samples/style_arjun_sad-soft_hi.wav+1-1
samples/style_arjun_sad-soft_ta.wav+1-1
samples/style_payal_happy_en.wav+1-1
samples/style_payal_happy_hi.wav+1-1
samples/style_payal_happy_ta.wav+1-1
samples/style_payal_sad-soft_en.wav+1-1
samples/style_payal_sad-soft_hi.wav+1-1
samples/style_payal_sad-soft_ta.wav+1-1
samples/ta_arjun.wav+1-1
samples/ta_payal.wav+1-1
samples/ta_sanjana.wav+1-1
samples/ta_vishnu.wav+1-1
samples/tanglish_arjun.wav+1-1
samples/tanglish_payal.wav+1-1
samples/tanglish_sanjana.wav+1-1
samples/tanglish_vishnu.wav+1-1
voxi.py+21