Update main.js

This commit is contained in:
Yabin Li
2024-05-22 11:30:21 +08:00
committed by GitHub
parent 1123168812
commit 5b59f69fa9
+2 -2
View File
@@ -373,7 +373,7 @@ function getJsonMessage( jsonMsg ) {
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();
@@ -580,4 +580,4 @@ function getUseITN() {
}
}
return false;
}
}