雾聪
2024-03-13 acf8b4d3dc590121d1297a82ccbb8ad87e9935d9
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)