From babe5de074a76a62f9aa6b85279368509e677eeb Mon Sep 17 00:00:00 2001 From: makaveli10 Date: Tue, 20 Feb 2024 13:10:46 +0530 Subject: [PATCH] add vad option to firefox extension --- Audio-Transcription-Firefox/content.js | 3 ++- Audio-Transcription-Firefox/popup.html | 4 ++++ Audio-Transcription-Firefox/popup.js | 16 +++++++++++++++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Audio-Transcription-Firefox/content.js b/Audio-Transcription-Firefox/content.js index 69611b57..6af6861d 100644 --- a/Audio-Transcription-Firefox/content.js +++ b/Audio-Transcription-Firefox/content.js @@ -74,7 +74,8 @@ function startRecording(data) { uid: uuid, language: data.language, task: data.task, - model: data.modelSize + model: data.modelSize, + use_vad: data.useVad }) ); }; diff --git a/Audio-Transcription-Firefox/popup.html b/Audio-Transcription-Firefox/popup.html index 43b93a11..8b2aac59 100644 --- a/Audio-Transcription-Firefox/popup.html +++ b/Audio-Transcription-Firefox/popup.html @@ -15,6 +15,10 @@ +
+ + +