From 8257c10627f4e773c62a5f5e15598da0ec607126 Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期三, 23 八月 2023 19:24:18 +0800
Subject: [PATCH] fix bug for 48k wav in h5 (#890)

---
 funasr/runtime/websocket/websocket-server.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/websocket/websocket-server.cpp b/funasr/runtime/websocket/websocket-server.cpp
index 952acad..1645398 100644
--- a/funasr/runtime/websocket/websocket-server.cpp
+++ b/funasr/runtime/websocket/websocket-server.cpp
@@ -83,6 +83,7 @@
       nlohmann::json jsonresult;        // result json
       jsonresult["text"] = asr_result;  // put result in 'text'
       jsonresult["mode"] = "offline";
+	  jsonresult["is_final"] = false;
       if(stamp_res != ""){
         jsonresult["timestamp"] = stamp_res;
       }

--
Gitblit v1.9.1