initial updates for infer stuffs

This commit is contained in:
SWivid
2024-10-24 23:51:20 +08:00
parent da500b5b92
commit 8629c6f91f
8 changed files with 146 additions and 109 deletions

View File

@@ -1,9 +1,9 @@
# F5-TTS | E2-TTS
model = "F5-TTS"
ref_audio = "tests/ref_audio/test_en_1_ref_short.wav"
ref_audio = "src/f5_tts/infer/examples/basic/basic_ref_en.wav"
# If an empty "", transcribes the reference audio automatically.
ref_text = "Some call me nature, others call me mother nature."
gen_text = "I don't really care what you call me. I've been a silent spectator, watching species evolve, empires rise and fall. But always remember, I am mighty and enduring. Respect me and I'll nurture you; ignore me and you shall face the consequences."
gen_text = "I don't really care what you call me. I've been a silent spectator, watching species evolve, empires rise and fall. But always remember, I am mighty and enduring."
# File with text to generate. Ignores the text above.
gen_file = ""
remove_silence = false