Merge pull request #3044 from rimelabs/rime-hin-lanaguge-support
Add support for Hindi language in RIme TTS service
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user