VirtuosoQ
2024-04-28 476dc3f30c014e0d2ebdc46ce0283ddbfe63eeb8
funasr/models/seaco_paraformer/model.py
@@ -350,7 +350,7 @@
        pre_acoustic_embeds, pre_token_length = predictor_outs[0], predictor_outs[1]
        pre_token_length = pre_token_length.round().long()
        if torch.max(pre_token_length) < 1:
            return []
            return ([],)
        decoder_out = self._seaco_decode_with_ASF(encoder_out, 
                                                  encoder_out_lens,