加载中…
加载中…
RegaLabs-TTS is a high-quality Central Kurdish (Sorani / سۆرانی) text-to-speech adaptation developed by RegaLabs based on CosyVoice 3.
RegaLabs/RegaLabs-TTSRegaLabs/RegaLabs-TTSListen to a generated Sorani audio sample:
pippip install git+https://github.com/RegaLabs/RegaLabs-TTS.git
# 1. Clone base engine
git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
cd CosyVoice
pip install -r requirements.txt
# 2. Clone RegaLabs-TTS model repo
git clone https://huggingface.co/RegaLabs/RegaLabs-TTS regalabs-tts-weights
# 3. Synthesize speech (the Sorani LLM adapter and flow checkpoint ship in the repo)
python regalabs-tts-weights/infer.py \
--text "سڵاو، بەخێربێن بۆ پڕۆژەی RegaLabs-TTS" \
--prompt-wav regalabs-tts-weights/samples/aran_en021.wav \
--prompt-text "دەنگێکی لەسەرخۆ، هێمن و پڕ لە بڕوابەخۆبوون." \
--out output_sorani.wav
python regalabs-tts-weights/app.py
cosyvoice3_sorani_flow_best_step2300.pt — Sorani acoustic/flow adaptation model weights (Step 2300).cosyvoice3_sorani_lora_refined_best.pt — Sorani LLM LoRA adapter (required for Sorani speech).cosyvoice3_sorani_flow_best_step2300.yaml — Matching flow architecture configuration.infer.py — Ready-to-run Sorani inference script.app.py — Gradio Web UI Live Demo script.sorani/censor.py — Fail-closed Sorani sexual-word filter with integrity checks (see below).samples/aran_en021.wav — Sample generated audio snippet.assets/ — Project banners & graphics.RegaLabs-TTS ships with a fail-closed Sorani content filter (sorani/censor.py). Sexual obscenities are bleeped (......) before synthesis instead of being spoken.
sorani/censor.py). Inflected forms and spelling variants are caught automatically.033abd6f...). If either is modified, synthesis refuses to run — the model "breaks itself" rather than speaking uncensored.python sorani/censor.py --rehash re-signs the word list; python sorani/censor.py --sign-checkpoint PATH signs a newly released official checkpoint.RegaLabs-TTS is a voice-cloning-capable TTS system. It generates whatever text it is given, in whichever voice it is prompted with. RegaLabs:
LICENSE);Voice consent rule: zero-shot voice cloning is only permitted with the speaker's own approval, or for voices you own or are authorized to use.
samples/) are strictly restricted to non-commercial use and prohibited for commercial voice cloning/redistribution.Any public use, generated media (videos, podcasts, audiobooks, broadcasts, or AI services), software, or derivative works utilizing RegaLabs-TTS MUST explicitly provide visible credit to RegaLabs: