mirror of https://github.com/coqui-ai/TTS.git
Add Vietnamese support to XTTS configurations and tokenizer
This commit is contained in:
parent
dbf1a08a0d
commit
b6a6bf122c
|
@ -89,6 +89,7 @@ class XttsConfig(BaseTTSConfig):
|
|||
"ko",
|
||||
"ja",
|
||||
"hi",
|
||||
"vi",
|
||||
]
|
||||
)
|
||||
|
||||
|
|
|
@ -639,6 +639,8 @@ class VoiceBpeTokenizer:
|
|||
elif lang == "hi":
|
||||
# @manmay will implement this
|
||||
txt = basic_cleaners(txt)
|
||||
elif lang == "vi":
|
||||
txt = basic_cleaners(txt)
|
||||
else:
|
||||
raise NotImplementedError(f"Language '{lang}' is not supported.")
|
||||
return txt
|
||||
|
|
Loading…
Reference in New Issue