Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Nov 17, 2024
1 parent 84759a2 commit b73f055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions egs/libriheavy/TTS/local/prepare_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ def __call__(self, cut):
return None

text = self.en_tn_model.normalize(text)
text = re.sub(r"\s+", " ", text).strip()

cut["supervisions"][0]["text"] = text
del cut["supervisions"][0]["custom"]
Expand Down

0 comments on commit b73f055

Please sign in to comment.