From 02a3eefb3575fa1883b13c85121b07c415958fd0 Mon Sep 17 00:00:00 2001
From: hnluo <haoneng.lhn@alibaba-inc.com>
Date: 星期二, 07 二月 2023 10:09:51 +0800
Subject: [PATCH] fix audio_in type bug
---
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