Skip to content

Commit

Permalink
[TTS] Use Normalizer.input_case
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan <[email protected]>
  • Loading branch information
rlangman committed May 10, 2023
1 parent fde6f24 commit adc4c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dataset_processing/tts/preprocess_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def main():

if args.normalizer_config_path:
normalizer_config = OmegaConf.load(args.normalizer_config_path)
lower_case_norm = normalizer_config.input_case == "lower_cased"
normalizer = instantiate(normalizer_config)
lower_case_norm = normalizer.input_case == "lower_cased"
else:
normalizer = None
lower_case_norm = False
Expand Down

0 comments on commit adc4c77

Please sign in to comment.