zhifu gao
2023-02-09 59b4708aa67a8aa989b62afa4e07360c9e108a08
funasr/bin/asr_inference_paraformer_vad.py
@@ -293,7 +293,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)