Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def macro_correct(text):
|
|
88 |
for t in texts:
|
89 |
print(t)
|
90 |
t_process = preprocess_same_with_training(t)
|
91 |
-
text_csc = correct_long(t_process, num_rethink=
|
92 |
print(text_csc)
|
93 |
### 繁简
|
94 |
if t != t_process:
|
|
|
88 |
for t in texts:
|
89 |
print(t)
|
90 |
t_process = preprocess_same_with_training(t)
|
91 |
+
text_csc = correct_long(t_process, num_rethink=1, flag_cut=True, limit_length_char=1)
|
92 |
print(text_csc)
|
93 |
### 繁简
|
94 |
if t != t_process:
|