Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
keep blank for english asr result (#623)
zhaomingwork4a33f08defa9
diff --git a/funasr/runtime/html5/static/main.js b/funasr/runtime/html5/static/main.jsindex 412bb43a2..22f53c152 100644--- a/funasr/runtime/html5/static/main.js+++ b/funasr/runtime/html5/static/main.js@@ -66,16 +66,18 @@ function getJsonMessage( jsonMsg ) {var asrmodel=JSON.parse(jsonMsg.data)['mode'];if(asrmodel=="2pass-offline"){- offline_text=offline_text+rectxt.replace(/ +/g,"");+ offline_text=offline_text+rectxt; //.replace(/ +/g,"");rec_text=offline_text;}else{- rec_text=rec_text+rectxt.replace(/ +/g,"");+ rec_text=rec_text+rectxt; //.replace(/ +/g,"");}var varArea=document.getElementById('varArea');varArea.value=rec_text;+ console.log( "offline_text: " + asrmodel+","+offline_text);+ console.log( "rec_text: " + rec_text);}