From b99f2f3996819510c38352962e97d60362dbb91d Mon Sep 17 00:00:00 2001 From: jinzr Date: Thu, 30 Nov 2023 15:44:18 +0800 Subject: [PATCH] Update prepare_tokens_vctk.py --- egs/vctk/TTS/local/prepare_tokens_vctk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/vctk/TTS/local/prepare_tokens_vctk.py b/egs/vctk/TTS/local/prepare_tokens_vctk.py index ad1235c28..32e1c7dfa 100755 --- a/egs/vctk/TTS/local/prepare_tokens_vctk.py +++ b/egs/vctk/TTS/local/prepare_tokens_vctk.py @@ -43,7 +43,7 @@ def prepare_tokens_vctk(): for cut in tqdm(cut_set): # Each cut only contains one supervision assert len(cut.supervisions) == 1, len(cut.supervisions) - text = cut.supervisions[0].normalized_text + text = cut.supervisions[0].text # Text normalization text = tacotron_cleaner.cleaners.custom_english_cleaners(text) # Convert to phonemes