MCPcopy Create free account
hub / github.com/modelscope/FunASR / getAsrMode

Function getAsrMode

runtime/html5/static/main.js:289–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287
288}
289function getAsrMode(){
290
291 var item = null;
292 var obj = document.getElementsByName("asr_mode");
293 for (var i = 0; i < obj.length; i++) { //遍历Radio
294 if (obj[i].checked) {
295 item = obj[i].value;
296 break;
297 }
298
299
300 }
301 if(isfilemode)
302 {
303 item= "offline";
304 }
305 console.log("asr mode"+item);
306
307 return item;
308}
309
310function handleWithTimestamp(tmptext,tmptime)
311{

Callers 2

onOpenFunction · 0.70
stopFunction · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…