From 93a83c006814151d15008903433e969f7d815d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Mon, 15 Feb 2021 13:03:59 +0100 Subject: [PATCH] Update TTS/utils/arguments.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- TTS/utils/arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/utils/arguments.py b/TTS/utils/arguments.py index 7d8f4adf..ebacab1b 100644 --- a/TTS/utils/arguments.py +++ b/TTS/utils/arguments.py @@ -182,7 +182,7 @@ def process_args(args, model_type): # if model characters are not set in the config file # save the default set to the config file for future # compatibility. - if model_class == 'TTS' and not 'characters' in c.keys(): + if model_class == 'TTS' and not 'characters' in c: used_characters = parse_symbols() new_fields['characters'] = used_characters copy_model_files(c, args.config_path,