Logo Lanfrica

haybankz/yoruba_tts

Domaine:

natural language processing

Type de record:

software
Créateur:
hay
Hôte:
Flutter package to generate speech from text using the Meta's mms-tts-yor model on HuggingFace API # Yoruba TTS flutter package Check out Hugging Face homepage ## Getting Started With Dart ```bash dart pub add yoruba_tts dart pub get ``` With Flutter ```bash flutter pub add yoruba_tts flutter pub get ``` ## How to use See example for more use case information. ```dart void main() async { // set file path final path = " "; final accessToken = " "; final text = "Ẹ̀yà Yorùbá ni mo ti wá"; YorubaTts.generate(accessToken: accessToken, text: text, filePath: path); // do play, upload or do whatever with .flac file } ``` ## Credit The credit for the model belongs to Vineel Pratap et al. from Meta AI. ``` @article{pratap2023mms, title={Scaling Speech Technology to 1,000+ Languages}, author={Vineel Pratap and Andros Tjandra and Bowen Shi and Paden Tomasello and Arun Babu and Sayani Kundu and Ali Elkahky and Zhaoheng Ni and Apoorv Vyas and Maryam Fazel-Zarandi and Alexei Baevski and Yossi Adi and Xiaohui Zhang and Wei-Ning Hsu and Alexis Conneau and Michael Auli}, journal={arXiv}, year={2023} } ``` Huge Shout out to Surajudeen Akande, this package is inspired by the Node.Js version be built.