From bef2d3a3911e63d7bf57132bf922a035c9c4bdce Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 10 十月 2024 15:44:58 +0800
Subject: [PATCH] Merge branch 'main' of https://github.com/alibaba-damo-academy/FunASR into main
---
runtime/html5/static/main.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/runtime/html5/static/main.js b/runtime/html5/static/main.js
index 9a5a875..9655a50 100644
--- a/runtime/html5/static/main.js
+++ b/runtime/html5/static/main.js
@@ -366,7 +366,7 @@
varArea.value=rec_text;
console.log( "offline_text: " + asrmodel+","+offline_text);
console.log( "rec_text: " + rec_text);
- if (isfilemode==true && is_final==false){
+ if (isfilemode==true && is_final==true){
console.log("call stop ws!");
play_file();
wsconnecter.wsStop();
@@ -573,4 +573,4 @@
}
}
return false;
-}
\ No newline at end of file
+}
--
Gitblit v1.9.1