From 980007a486a4a2cfbcf4f98c7a88e28e17fd0f48 Mon Sep 17 00:00:00 2001
From: Shi Xian <40013335+R1ckShi@users.noreply.github.com>
Date: 星期四, 21 三月 2024 14:59:46 +0800
Subject: [PATCH] update seaco finetune (#1526)
---
funasr/datasets/large_datasets/utils/hotword_utils.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/funasr/datasets/large_datasets/utils/hotword_utils.py b/funasr/datasets/large_datasets/utils/hotword_utils.py
index fccfea6..73f8bdd 100644
--- a/funasr/datasets/large_datasets/utils/hotword_utils.py
+++ b/funasr/datasets/large_datasets/utils/hotword_utils.py
@@ -6,7 +6,8 @@
sample_rate,
double_rate,
pre_prob,
- pre_index=None):
+ pre_index=None,
+ pre_hwlist=None):
if length < hotword_min_length:
return [-1]
if random.random() < sample_rate:
--
Gitblit v1.9.1