From 91a2f3e3a7b34761f832a35947dce60ed9c75d69 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期五, 05 五月 2023 16:15:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'refs/remotes/origin/dev_sx' into dev_sx merge contextual related codes
---
funasr/utils/timestamp_tools.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/utils/timestamp_tools.py b/funasr/utils/timestamp_tools.py
index 699c7b8..87cc49e 100644
--- a/funasr/utils/timestamp_tools.py
+++ b/funasr/utils/timestamp_tools.py
@@ -19,7 +19,7 @@
sil_in_str=True
):
if not len(char_list):
- return []
+ return "", []
START_END_THRESHOLD = 5
MAX_TOKEN_DURATION = 12
TIME_RATE = 10.0 * 6 / 1000 / 3 # 3 times upsampled
--
Gitblit v1.9.1