From 8cd896d984d2627efb233795978c9a86ff543133 Mon Sep 17 00:00:00 2001
From: Shi Xian <40013335+R1ckShi@users.noreply.github.com>
Date: 星期六, 09 三月 2024 13:55:54 +0800
Subject: [PATCH] update hotword finetuning (#1452)

---
 funasr/models/contextual_paraformer/model.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/models/contextual_paraformer/model.py b/funasr/models/contextual_paraformer/model.py
index 7d6f729..18cab60 100644
--- a/funasr/models/contextual_paraformer/model.py
+++ b/funasr/models/contextual_paraformer/model.py
@@ -107,7 +107,7 @@
 
         hotword_pad = kwargs.get("hotword_pad")
         hotword_lengths = kwargs.get("hotword_lengths")
-        dha_pad = kwargs.get("dha_pad")
+        # dha_pad = kwargs.get("dha_pad")
 
         # 1. Encoder
         encoder_out, encoder_out_lens = self.encode(speech, speech_lengths)

--
Gitblit v1.9.1