CaasiHUANG commited on
Commit
833d379
Β·
1 Parent(s): 55b21e7

Fix Normalization

Browse files
Files changed (1) hide show
  1. processing_moss_tts.py +1 -1
processing_moss_tts.py CHANGED
@@ -95,7 +95,7 @@ def normalize_text(text: str) -> str:
95
  text = re.sub(r"\{.*?\}", "", text)
96
 
97
  # Replace decorative symbols with comma
98
- decorative_chars = "γ€γ€‘γ€Šγ€‹οΌˆοΌ‰γ€Žγ€γ€Œγ€ο½ž-_"
99
  for char in decorative_chars:
100
  text = text.replace(char, ",")
101
 
 
95
  text = re.sub(r"\{.*?\}", "", text)
96
 
97
  # Replace decorative symbols with comma
98
+ decorative_chars = "γ€γ€‘γ€Šγ€‹οΌˆοΌ‰γ€Žγ€γ€Œγ€ο½ž"
99
  for char in decorative_chars:
100
  text = text.replace(char, ",")
101