Merge pull request #3044 from rimelabs/rime-hin-lanaguge-support

Add support for Hindi language in RIme TTS service
This commit is contained in:
Mark Backman
2025-11-12 21:13:01 -05:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
services that subclass `TTSService` can indicate whether the text in the
`TTSTextFrame`s they push already contain any necessary inter-frame spaces.
### Changed
- Added Hindi support for Rime TTS services.
### Fixed
- Fixed subtle issue of assistant context messages ending up with double spaces

View File

@@ -60,6 +60,7 @@ def language_to_rime_language(language: Language) -> str:
Language.FR: "fra",
Language.EN: "eng",
Language.ES: "spa",
Language.HI: "hin",
}
return resolve_language(language, LANGUAGE_MAP, use_base_code=False)