From 4cacf936bcfff40d14bca926d0025d9aa2185dbe Mon Sep 17 00:00:00 2001
From: manyeyes <32889020+manyeyes@users.noreply.github.com>
Date: 星期一, 16 十月 2023 11:26:09 +0800
Subject: [PATCH] Adjusting the project directory structure (#1010)
---
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