From 33d3d2084403fd34b79c835d2f2fe04f6cd8f738 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 13 九月 2023 09:33:54 +0800
Subject: [PATCH] Merge branch 'main' of github.com:alibaba-damo-academy/FunASR add

---
 funasr/modules/beam_search/beam_search_transducer.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/funasr/modules/beam_search/beam_search_transducer.py b/funasr/modules/beam_search/beam_search_transducer.py
index 8b7e613..3eb8e08 100644
--- a/funasr/modules/beam_search/beam_search_transducer.py
+++ b/funasr/modules/beam_search/beam_search_transducer.py
@@ -6,7 +6,6 @@
 import numpy as np
 import torch
 
-from funasr.models.rnnt_predictor.abs_decoder import AbsDecoder
 from funasr.models.joint_net.joint_network import JointNetwork
 
 
@@ -68,7 +67,7 @@
 
     def __init__(
         self,
-        decoder: AbsDecoder,
+        decoder,
         joint_network: JointNetwork,
         beam_size: int,
         lm: Optional[torch.nn.Module] = None,

--
Gitblit v1.9.1