游雁
2023-02-09 d19d566ced6c100f66e80a9b9e363026a14d766c
funasr/bin/asr_inference_paraformer_vad_punc.py
@@ -612,7 +612,7 @@
                    text_postprocessed, time_stamp_postprocessed, word_lists = postprocessed_result[0], \
                                                                               postprocessed_result[1], \
                                                                               postprocessed_result[2]
                    text_postprocessed_punc = ""
                    text_postprocessed_punc = text_postprocessed
                    if len(word_lists) > 0 and text2punc is not None:
                        text_postprocessed_punc, punc_id_list = text2punc(word_lists, 20)