somu9/iisc_mono_hindi_female
Viewer • Updated • 22.1k • 180 • 1
How to use SwarajSolanke-turtle/F5TTS_female_trained 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_type="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