-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to ask, how can I add a new language like Vietnamese. Thank you #324
Comments
Hey @KalvinThien! I'm here to help you out with any bugs, questions, or contributions you have. Let's tackle this together! To add a new language like Vietnamese to OpenVoice, you need to make changes in the class BaseSpeakerTTS(OpenVoiceBaseClass):
language_marks = {
"english": "EN",
"chinese": "ZH",
"vietnamese": "VI", # Add this line
} This change assigns a language mark "VI" for Vietnamese, which can then be used in the |
thank you for your help, you let me inquire further. Does the tool have a
character limit when using clone voice? Thank you ...
Vào Th 3, 22 thg 10, 2024 vào lúc 19:44 dosubot[bot] <
***@***.***> đã viết:
… Hey @KalvinThien <https://github.com/KalvinThien>! I'm here to help you
out with any bugs, questions, or contributions you have. Let's tackle this
together!
To add a new language like Vietnamese to OpenVoice, you need to make
changes in the openvoice/api.py file. Specifically, you should add an
entry for Vietnamese in the language_marks dictionary within the
BaseSpeakerTTS class:
class BaseSpeakerTTS(OpenVoiceBaseClass):
language_marks = {
"english": "EN",
"chinese": "ZH",
"vietnamese": "VI", # Add this line
}
This change assigns a language mark "VI" for Vietnamese, which can then be
used in the tts method to process Vietnamese text [1]
<https://github.com/myshell-ai/OpenVoice/blob/main/openvoice/api.py>.
*To continue talking to Dosu <https://dosu.dev>, mention @dosu
<https://github.com/dosu>.*
—
Reply to this email directly, view it on GitHub
<#324 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4X27SORCU2DTASGE5YGIVTZ4ZCDHAVCNFSM6AAAAABQMNE4QCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRZGE4DIMZZGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, the OpenVoice tool has a character limit of 200 characters when using the clone voice feature. If the text exceeds this limit, an error message is displayed: "[ERROR] Text length limited to 200 characters for this demo, please try shorter text. You can clone our open-source repo and try for your usage" [1]. |
Can you give me an example of using clone voice with Vietnamese text? I tried and found that the accent was not quite right, I don't know where I went wrong @dosu. |
I would like to ask, how can I add a new language like Vietnamese. Thank you
The text was updated successfully, but these errors were encountered: