diff --git a/Audio-Transcription-Chrome/README.md b/Audio-Transcription-Chrome/README.md index 0d402901..7392f738 100644 --- a/Audio-Transcription-Chrome/README.md +++ b/Audio-Transcription-Chrome/README.md @@ -29,6 +29,7 @@ When using the Audio Transcription extension, you have the following options: - **Use Multilingual Model**: Enable this option to utilize the multilingual capabilities of OpenAI-whisper. - **Language**: Select the target language for transcription or translation. You can choose from a variety of languages supported by OpenAI-whisper. - **Task:** Choose the specific task to perform on the audio. You can select either "transcribe" for transcription or "translate" to translate the audio to English. + - **Model Size**: Select the whisper model size to run the server with. ### Getting Started - Make sure the transcription server is running properly. To know more about how to start the server, see the [documentation here](https://github.com/collabora/whisper-live). diff --git a/Audio-Transcription-Chrome/background.js b/Audio-Transcription-Chrome/background.js index f860209b..a5028a78 100644 --- a/Audio-Transcription-Chrome/background.js +++ b/Audio-Transcription-Chrome/background.js @@ -156,7 +156,8 @@ async function startCapture(options) { port: options.port, multilingual: options.useMultilingual, language: options.language, - task: options.task + task: options.task, + modelSize: options.modelSize }, }); } else { diff --git a/Audio-Transcription-Chrome/options.js b/Audio-Transcription-Chrome/options.js index af77b386..9717856a 100644 --- a/Audio-Transcription-Chrome/options.js +++ b/Audio-Transcription-Chrome/options.js @@ -102,7 +102,8 @@ async function startRecord(option) { uid: uuid, multilingual: option.multilingual, language: option.language, - task: option.task + task: option.task, + model_size: option.modelSize }) ); }; diff --git a/Audio-Transcription-Chrome/popup.html b/Audio-Transcription-Chrome/popup.html index 4f2b6ec7..79f18ca9 100644 --- a/Audio-Transcription-Chrome/popup.html +++ b/Audio-Transcription-Chrome/popup.html @@ -125,11 +125,22 @@