雾聪
2024-04-19 63a70a00f7c9f162e8d7b3e330516438fb8cd87b
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)