This commit is contained in:
Alexandre Défossez 2025-07-03 14:55:24 +02:00
parent 31f8746881
commit 0b5a5fbed2

View File

@ -65,6 +65,7 @@ def main():
voice_path = tts_model.get_voice_path(args.voice) voice_path = tts_model.get_voice_path(args.voice)
# CFG coef goes here because the model was trained with CFG distillation, # CFG coef goes here because the model was trained with CFG distillation,
# so it's not _actually_ doing CFG at inference time. # so it's not _actually_ doing CFG at inference time.
# Also, if you are generating a dialog, you should have at least two voices in the list.
condition_attributes = tts_model.make_condition_attributes( condition_attributes = tts_model.make_condition_attributes(
[voice_path], cfg_coef=2.0 [voice_path], cfg_coef=2.0
) )