From 0f3b189d3563e9b048ad9642d700e74dc2f73b1e Mon Sep 17 00:00:00 2001
From: huangmingming <huangmingming@deepscience.cn>
Date: 星期四, 16 三月 2023 15:38:33 +0800
Subject: [PATCH] Merge branch 'main' of https://github.com/dyyzhmm/FunASR
---
funasr/punctuation/abs_model.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/funasr/punctuation/abs_model.py b/funasr/punctuation/abs_model.py
index 5f6afb7..404d5e8 100644
--- a/funasr/punctuation/abs_model.py
+++ b/funasr/punctuation/abs_model.py
@@ -25,3 +25,7 @@
@abstractmethod
def forward(self, input: torch.Tensor, hidden: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]:
raise NotImplementedError
+
+ @abstractmethod
+ def with_vad(self) -> bool:
+ raise NotImplementedError
--
Gitblit v1.9.1