Skip to content

Commit

Permalink
Removed only_voice_freq param
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoroney committed Nov 26, 2024
1 parent e9ebfe9 commit ef42893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mac-Server/transcription-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit ef42893

Please sign in to comment.