From 2ddf9637fcaec3cd4057cfcbd8616f26ba567c36 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期二, 27 六月 2023 17:36:07 +0800
Subject: [PATCH] update

---
 funasr/models/e2e_asr_mfcca.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/funasr/models/e2e_asr_mfcca.py b/funasr/models/e2e_asr_mfcca.py
index 9bdbd2f..3927e38 100644
--- a/funasr/models/e2e_asr_mfcca.py
+++ b/funasr/models/e2e_asr_mfcca.py
@@ -36,7 +36,6 @@
 import random
 import math
 
-
 class MFCCA(FunASRModel):
     """
     Author: Audio, Speech and Language Processing Group (ASLP@NPU), Northwestern Polytechnical University
@@ -54,7 +53,7 @@
             encoder: AbsEncoder,
             decoder: AbsDecoder,
             ctc: CTC,
-            rnnt_decoder: None,
+            rnnt_decoder: None = None,
             ctc_weight: float = 0.5,
             ignore_id: int = -1,
             lsm_weight: float = 0.0,

--
Gitblit v1.9.1