diff --git a/Audio-Transcription-Chrome/background.js b/Audio-Transcription-Chrome/background.js index a5028a78..52ce4a7e 100644 --- a/Audio-Transcription-Chrome/background.js +++ b/Audio-Transcription-Chrome/background.js @@ -157,7 +157,8 @@ async function startCapture(options) { multilingual: options.useMultilingual, language: options.language, task: options.task, - modelSize: options.modelSize + modelSize: options.modelSize, + useVad: options.useVad, }, }); } else { diff --git a/Audio-Transcription-Chrome/options.js b/Audio-Transcription-Chrome/options.js index 435d75b2..6c3ef628 100644 --- a/Audio-Transcription-Chrome/options.js +++ b/Audio-Transcription-Chrome/options.js @@ -99,7 +99,8 @@ async function startRecord(option) { uid: uuid, language: option.language, task: option.task, - model: option.modelSize + model: option.modelSize, + use_vad: option.useVad }) ); }; diff --git a/Audio-Transcription-Chrome/popup.html b/Audio-Transcription-Chrome/popup.html index 8d45bcb2..13203368 100644 --- a/Audio-Transcription-Chrome/popup.html +++ b/Audio-Transcription-Chrome/popup.html @@ -15,6 +15,10 @@ +
+ + +
+
+ + +