From c3e2ca4b73d1d798cd7ec25263e06c357d9d9a2f Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 08 十一月 2023 18:46:29 +0800
Subject: [PATCH] Update README.md

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

diff --git a/funasr/modules/beam_search/beam_search_transducer.py b/funasr/modules/beam_search/beam_search_transducer.py
index eaf5627..3eb8e08 100644
--- a/funasr/modules/beam_search/beam_search_transducer.py
+++ b/funasr/modules/beam_search/beam_search_transducer.py
@@ -6,8 +6,7 @@
 import numpy as np
 import torch
 
-from funasr.models.rnnt_decoder.abs_decoder import AbsDecoder
-from funasr.models.joint_network import JointNetwork
+from funasr.models.joint_net.joint_network import JointNetwork
 
 
 @dataclass
@@ -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