-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Import spaCy languages dynamically in XTTS Tokenizer.py #3615
Conversation
…n request body with your text and will allow for longer texts that otherwise exceed the maximum http url length
…now, the only one that needs special packages is Korean. So, all languages works well but Korean
|
Fix bark model
fix: fairseq model
Configurable verbose output
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels. |
Hi!
How are you doing?
This pull request import the spacy language class dynamically with a English fallback when import error in TTS/tts/layers/xtts/tokenizer.py
Thailandese and Vietnamese need 2 extra packages: pythainlp and pyvi
So I added both in the requirements.txt
Korean is the only language that needs some extra packages that needs to be installed manually, by now is the only language that cannot be imported.
I created a function get_all_spacy_langs to verify that all the imports works properly. This is only for testing purposes. If something were wrong in get_spacy_lang there is always a spacy English language fallback.
Thank you!
David Martin Rius