Approximetal commited on
Commit
50b9855
·
verified ·
1 Parent(s): bd9b56c

Update gradio_mix.py

Browse files
Files changed (1) hide show
  1. gradio_mix.py +1 -1
gradio_mix.py CHANGED
@@ -303,7 +303,7 @@ class TextNorm():
303
  txts.append(text)
304
  phonemes.append(text)
305
  continue
306
- text = NSWNormalizer(text.strip()).normalize()
307
 
308
  text_list = list(jieba.cut(text))
309
  print("jieba cut: ", text, text_list)
 
303
  txts.append(text)
304
  phonemes.append(text)
305
  continue
306
+ text = NSWNormalizer().normalize(text.strip())
307
 
308
  text_list = list(jieba.cut(text))
309
  print("jieba cut: ", text, text_list)