SPRINGLab/IndicTTS-Hindi
Viewer • Updated • 11.8k • 615 • 34
How to use rajputsw/f5-tts-hindhi with F5-TTS:
# 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
Fine-tuned F5-TTS model for Hindi text-to-speech.
from f5_tts.api import F5TTS
model = F5TTS(
model="F5-TTS",
ckpt_file="path/to/model_last.pt",
vocab_file="path/to/vocab.txt",
)
wav, sr, _ = model.infer(
ref_file="reference.wav",
ref_text="संदर्भ पाठ हिंदी में",
gen_text="आपका दिन शुभ हो",
)
Base model
SPRINGLab/F5-Hindi-24KHz