small fix

This commit is contained in:
yifanyeung 2024-10-30 10:41:29 -07:00
parent 50b97d4332
commit 4f4bb79161

View File

@ -42,7 +42,6 @@ class TextNormlizer:
# Remove extra spaces
text = re.sub(r"\s+", " ", text).strip()
normalized_text = re.sub(r"\s+", " ", normalized_text).strip()
text = self.en_tn_model.normalize(text)
return text.strip()