csukuangfj
commited on
Commit
·
c98790c
1
Parent(s):
c7ac9c7
small fixes
Browse files
decode.py
CHANGED
@@ -128,7 +128,7 @@ def decode(
|
|
128 |
seg.text = punct.add_punctuation(seg.text)
|
129 |
segment_list.append(seg)
|
130 |
logging.info(f"all text: {all_text}")
|
131 |
-
all_text = "
|
132 |
logging.info(f"all text: {all_text}")
|
133 |
if punct is not None:
|
134 |
all_text = punct.add_punctuation(all_text)
|
|
|
128 |
seg.text = punct.add_punctuation(seg.text)
|
129 |
segment_list.append(seg)
|
130 |
logging.info(f"all text: {all_text}")
|
131 |
+
all_text = "".join(all_text)
|
132 |
logging.info(f"all text: {all_text}")
|
133 |
if punct is not None:
|
134 |
all_text = punct.add_punctuation(all_text)
|