From f13cfbc18e6b7e37d4e5a515cf18411aa0c56d55 Mon Sep 17 00:00:00 2001
From: 北念 <lzr265946@alibaba-inc.com>
Date: 星期二, 21 二月 2023 17:34:45 +0800
Subject: [PATCH] support hotword parameter passing in the pipeline forward
---
funasr/punctuation/abs_model.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/funasr/punctuation/abs_model.py b/funasr/punctuation/abs_model.py
index 3e0b6ce..5f6afb7 100644
--- a/funasr/punctuation/abs_model.py
+++ b/funasr/punctuation/abs_model.py
@@ -23,7 +23,5 @@
"""
@abstractmethod
- def forward(
- self, input: torch.Tensor, hidden: torch.Tensor
- ) -> Tuple[torch.Tensor, torch.Tensor]:
+ def forward(self, input: torch.Tensor, hidden: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]:
raise NotImplementedError
--
Gitblit v1.9.1