mirror of https://github.com/coqui-ai/TTS.git
Simplify branch in TTS/bin/synthesize.py
This commit is contained in:
parent
08fa5d4098
commit
4584ef6580
|
@ -379,10 +379,8 @@ def main():
|
||||||
if model_item["model_type"] == "tts_models":
|
if model_item["model_type"] == "tts_models":
|
||||||
tts_path = model_path
|
tts_path = model_path
|
||||||
tts_config_path = config_path
|
tts_config_path = config_path
|
||||||
if "default_vocoder" in model_item:
|
if args.vocoder_name is None and "default_vocoder" in model_item:
|
||||||
args.vocoder_name = (
|
args.vocoder_name = model_item["default_vocoder"]
|
||||||
model_item["default_vocoder"] if args.vocoder_name is None else args.vocoder_name
|
|
||||||
)
|
|
||||||
|
|
||||||
# voice conversion model
|
# voice conversion model
|
||||||
if model_item["model_type"] == "voice_conversion_models":
|
if model_item["model_type"] == "voice_conversion_models":
|
||||||
|
|
Loading…
Reference in New Issue