hexgrad commited on
Commit
40576c0
·
verified ·
1 Parent(s): c9e0970

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -41,6 +41,7 @@ def normalize(text):
41
  text = re.sub(r'[^\S \n]', ' ', text)
42
  text = re.sub(r' +', ' ', text)
43
  text = re.sub(r'(?<=\n) +(?=\n)', '', text)
 
44
  return parens_to_angles(text).strip()
45
 
46
  phonemizers = dict(
 
41
  text = re.sub(r'[^\S \n]', ' ', text)
42
  text = re.sub(r' +', ' ', text)
43
  text = re.sub(r'(?<=\n) +(?=\n)', '', text)
44
+ text = re.sub(r'(?<=\d),(?=\d)', '', text)
45
  return parens_to_angles(text).strip()
46
 
47
  phonemizers = dict(