zhifu gao
2024-03-12 c3192dffdd79c7b8a75ce1dc880b0a17b72d33a1
funasr/models/contextual_paraformer/model.py
@@ -107,7 +107,7 @@
        hotword_pad = kwargs.get("hotword_pad")
        hotword_lengths = kwargs.get("hotword_lengths")
        dha_pad = kwargs.get("dha_pad")
        # dha_pad = kwargs.get("dha_pad")
        # 1. Encoder
        encoder_out, encoder_out_lens = self.encode(speech, speech_lengths)