Instructions to use ampixa/gurung-tts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Piper
How to use ampixa/gurung-tts with Piper:
# 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
Gurung TTS (Piper/VITS, ONNX)
A single-speaker Gurung (Tamu Kyi, gvr) voice with an explicit Devanagari G2P, exported to ONNX from
gvr_tts_v0_ep29.ckpt (Gurung TTS v0). 22.05 kHz, CPU, about 78 MB.
Status
- New ONNX export. Matches the PyTorch model at 88–97 dB SNR.
Use
pip install -r requirements.txt # onnxruntime, numpy, soundfile
python speak.py "नक्यु म्या" -o gurung.wav --phones # -> n̪ ʌ k j u | m j aː
from speak import synthesize
wav, sr, phones = synthesize("नक्यु म्या", length_scale=1.0)
Export and checks
- Exported with a keyword-safe exporter (the stock piper-plus
export_onnxmisroutes optional inputs). FP32, opset 17. Inputs:input,input_lengths,scales,sid(speaker 0 is the narrator; 1 is an unused placeholder). Called without prosody features, as the Gurung TTS Space did. - ONNX against PyTorch with noise off: identical output lengths, 88 to 97 dB SNR on short and long inputs.
Limitations
Early, single-narrator, read-scripture voice. The G2P is the more reusable part.
- Downloads last month
- -