qgyd2021 commited on
Commit
f0c908f
1 Parent(s): 341b916

[update]edit main

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -110,7 +110,7 @@ def main():
110
 
111
  output = output.lstrip("[SEP] ,.!?")
112
  output = output.replace("[SEP]", "\n")
113
- output = re.sub(r"([\u4e00-\u9fa5]) ([\u4e00-\u9fa5])", repl, output)
114
 
115
  output_text_box.value += output
116
  yield output
 
110
 
111
  output = output.lstrip("[SEP] ,.!?")
112
  output = output.replace("[SEP]", "\n")
113
+ output = re.sub(r"([,。!?\u4e00-\u9fa5]) ([,。!?\u4e00-\u9fa5])", repl, output)
114
 
115
  output_text_box.value += output
116
  yield output