From ef4289332419e28eccf637d5a6a480b33a041b87 Mon Sep 17 00:00:00 2001 From: Tom Moroney Date: Tue, 26 Nov 2024 02:39:40 +0000 Subject: [PATCH] Removed only_voice_freq param --- Mac-Server/transcription-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac-Server/transcription-server.py b/Mac-Server/transcription-server.py index c939d9f..8cbed1a 100644 --- a/Mac-Server/transcription-server.py +++ b/Mac-Server/transcription-server.py @@ -158,7 +158,7 @@ def inference(audio, **kwargs) -> dict: def transcribe_audio(audio_file, kwargs, max_words, max_chars): print("Starting transcription...") - whisperResult = stable_whisper.transcribe_any(inference, audio_file, inference_kwargs = kwargs, vad=True, only_voice_freq=True, force_order=True) + whisperResult = stable_whisper.transcribe_any(inference, audio_file, inference_kwargs = kwargs, vad=True, force_order=True) whisperResult.split_by_length(max_words=max_words, max_chars=max_chars) return whisperResult.to_dict()