This commit is contained in:
Your Name 2024-11-17 03:48:42 -08:00
parent 84759a2244
commit b73f0550ef

View File

@ -279,6 +279,7 @@ class TextNormalizer:
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"]