Revert "added parameter to specify the autoregressive_model (tho it still loads the default model first, and then loads the target model, which seems to be because TTS loading just loads whatever is set in the settings first)"

This reverts commit d1dbe3e464.
This commit is contained in:
ben_mkiv 2023-08-23 19:11:13 +02:00
parent d1dbe3e464
commit f087b45943

View File

@ -32,7 +32,6 @@ if __name__ == "__main__":
parser.add_argument("--breathing_room", default=default_arguments['breathing_room'])
parser.add_argument("--cvvp_weight", default=default_arguments['cvvp_weight'])
parser.add_argument("--top_p", default=default_arguments['top_p'])
parser.add_argument("--autoregressive_model", default=default_arguments['autoregressive_model'])
parser.add_argument("--diffusion_temperature", default=default_arguments['diffusion_temperature'])
parser.add_argument("--length_penalty", default=default_arguments['length_penalty'])
parser.add_argument("--repetition_penalty", default=default_arguments['repetition_penalty'])
@ -56,7 +55,6 @@ if __name__ == "__main__":
'breathing_room': args.breathing_room,
'cvvp_weight': args.cvvp_weight,
'top_p': args.top_p,
'autoregressive_model': args.autoregressive_model,
'diffusion_temperature': args.diffusion_temperature,
'length_penalty': args.length_penalty,
'repetition_penalty': args.repetition_penalty,
@ -64,6 +62,5 @@ if __name__ == "__main__":
'experimentals': default_arguments['experimentals'],
}
# cli should rely on generate() for loading the TTS backend
#tts = load_tts()
tts = load_tts()
generate(**kwargs)