From 3530688e0a1b1dfbb22dcd3324db97be5bbc0d9b Mon Sep 17 00:00:00 2001
From: takipipo <69394786+takipipo@users.noreply.github.com>
Date: 星期四, 16 一月 2025 10:33:23 +0800
Subject: [PATCH] Make Emotion2vec support onnx (#2359)
---
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