karim23657 / Persian-tts-coqui

Persian/Farsi text to speech(TTS) training using coqui tts
MIT License
101 stars 17 forks source link
coqui coqui-ai coqui-tts dataset deep-learning farsi farsi-datasets glow-tts hifigan persian persian-dataset persian-language persian-tts speech speech-synthesis tacotron text-to-speech tts tts-model vits

Persian-tts-coqui Hugging Face Spaces

Persian/Farsi text to speech(TTS) training using coqui tts (Online demo : Hugging Face Spaces)
This repository contains sample codes for training text to speech models
Feel free to ask your questions issues

این مخزن شامل نمونه کدهای لازم برای آموزش مدل های متن به صوت فارسی است سوالاتتان را در issues مطرح کنید

How to train ?

Sample codes and notebooks are available at recepies folder

نمونه کد ها و نوت بوک ها در پوشه recepies موجود هستند

Pretrained models

These are models you can use to test or finetune

مدل هایی که می توانید برای امتحان کردن یا finetune کردن از آنها استفاده کنید
Model Dataset
vits female (best) persian-tts-dataset-famale
vits male1 (best) persian-tts-dataset-male
vits female1 ParsiGoo
vits male persian-tts-dataset
glowtts female persian-tts-dataset-famale
glowtts male persian-tts-dataset
tacotron2 female persian-tts-dataset-famale
Hifigan persian-tts-dataset-famale
Wavernn persian-tts-dataset-famale

Datasets

Models trained on these datasets :

Test trained model

model_path ="config.json" # Absolute path to the model checkpoint.pth config_path ="best_model.pth" # Absolute path to the model config.json

text=".زندگی فقط یک بار است؛ از آن به خوبی استفاده کن"

synthesizer = Synthesizer( model_path, config_path ) wavs = synthesizer.tts(text) synthesizer.save_wav(wavs, 'sp.wav')



## usefull links 
If you want more persian text to speech tools: 
ابزار ها صوت به متن فارسی بیشتر :
- https://github.com/karim23657/awesome-Persian-Speech#tts-tools

Any issue about tts library:
- https://github.com/coqui-ai/TTS

## ❓ Questions
🤩 If you have any questions, feedback, or suggestions, feel free to reach out to me at alias@karim23657.anonaddy.com ! I'm always happy to help.

🤩 در صورتی که سوال، بازخورد یا پیشنهادی دارید، با من  از طریق ایمیل alias@karim23657.anonaddy.com در تماس باشید! خوشحال میشم که بتونم کمک کنم.