Instructions to use Dezheen89/cosyvoice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- CosyVoice
How to use Dezheen89/cosyvoice with CosyVoice:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
CosyVoice3 β Badini Kurdish TTS (usage files)
Reference voice and inference script for the Badini Kurdish CosyVoice3 fine-tune.
The model weights are not in this repo; they live in
computeram/cosyvoice3-badini-tts.
CosyVoice3 is a zero-shot voice-cloning model: every generation needs a short reference clip and its exact transcript. This repo bundles one:
prompt-hayfa.wavβ a real Badini recording (~4.7 s)prompt-hayfa.txtβ its exact transcriptinfer.pyβ loads the weights and synthesizes speech in that voice
Usage
git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
pip install -r CosyVoice/requirements.txt huggingface_hub
python infer.py "text to speak" --cosyvoice-dir ./CosyVoice --out output.wav
To use another voice, pass --prompt-wav and --prompt-text-file for a clip of that
speaker and its exact transcript.
- Downloads last month
- -