[update]edit main
Browse files
main.py
CHANGED
@@ -111,6 +111,7 @@ def main():
|
|
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
|
|
|
111 |
output = output.lstrip("[SEP] ,.!?")
|
112 |
output = output.replace("[SEP]", "\n")
|
113 |
output = re.sub(r"([,。!?\u4e00-\u9fa5]) ([,。!?\u4e00-\u9fa5])", repl, output)
|
114 |
+
output = output.strip()
|
115 |
|
116 |
output_text_box.value += output
|
117 |
yield output
|