From b22bd68863b04e9b40c4f53b980e8fd7821a7833 Mon Sep 17 00:00:00 2001
From: hnluo <haoneng.lhn@alibaba-inc.com>
Date: 星期二, 29 八月 2023 11:41:51 +0800
Subject: [PATCH] Merge pull request #901 from alibaba-damo-academy/dev_lhn

---
 funasr/runtime/html5/static/wsconnecter.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/html5/static/wsconnecter.js b/funasr/runtime/html5/static/wsconnecter.js
index 4beec83..cc6129f 100644
--- a/funasr/runtime/html5/static/wsconnecter.js
+++ b/funasr/runtime/html5/static/wsconnecter.js
@@ -78,6 +78,11 @@
 		{
 			request.wav_format=file_ext;
 		}
+		var hotwords=getHotwords();
+		if(hotwords.length>0)
+		{
+			request.hotwords=hotwords;
+		}
 		console.log(request);
 		speechSokt.send( JSON.stringify(request) );
 		console.log("杩炴帴鎴愬姛");

--
Gitblit v1.9.1