will_wang
2024-12-04 0c3c9be2c4c1c4e4da4628c3987708c9a0763391
funasr/models/llm_asr_nar/model.py
@@ -166,8 +166,6 @@
                text: (Batch, Length)
                text_lengths: (Batch,)
        """
        # import pdb;
        # pdb.set_trace()
        if len(text_lengths.size()) > 1:
            text_lengths = text_lengths[:, 0]
        if len(speech_lengths.size()) > 1: