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

@@ -130,8 +130,8 @@ if __name__ == "__main__":
ref_file=str(files("f5_tts").joinpath("infer/examples/basic/basic_ref_en.wav")),
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.""",
file_wave=str(files("f5_tts").joinpath("../../api_test_out.wav")),
file_spect=str(files("f5_tts").joinpath("../../api_test_out.png")),
file_wave=str(files("f5_tts").joinpath("../../tests/api_out.wav")),
file_spect=str(files("f5_tts").joinpath("../../tests/api_out.png")),
seed=-1, # random seed = -1
)