From f43da18b5e097515c12438c70fc7918c29e5d0c8 Mon Sep 17 00:00:00 2001
From: lingji-yidong <75744976+lingji-yidong@users.noreply.github.com>
Date: 星期一, 19 八月 2024 13:36:59 +0800
Subject: [PATCH] fix start timestamp in sentence_info (#2024)
---
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