[update]edit main
Browse files
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"([
|
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
|