mirror of https://github.com/coqui-ai/TTS.git
Update TTS/utils/arguments.py
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
39fbf2fe84
commit
93a83c0068
|
@ -182,7 +182,7 @@ def process_args(args, model_type):
|
||||||
# if model characters are not set in the config file
|
# if model characters are not set in the config file
|
||||||
# save the default set to the config file for future
|
# save the default set to the config file for future
|
||||||
# compatibility.
|
# compatibility.
|
||||||
if model_class == 'TTS' and not 'characters' in c.keys():
|
if model_class == 'TTS' and not 'characters' in c:
|
||||||
used_characters = parse_symbols()
|
used_characters = parse_symbols()
|
||||||
new_fields['characters'] = used_characters
|
new_fields['characters'] = used_characters
|
||||||
copy_model_files(c, args.config_path,
|
copy_model_files(c, args.config_path,
|
||||||
|
|
Loading…
Reference in New Issue