diff --git a/scripts/short_audio_transcribe.py b/scripts/short_audio_transcribe.py index 0627472..c82c8ce 100644 --- a/scripts/short_audio_transcribe.py +++ b/scripts/short_audio_transcribe.py @@ -23,7 +23,7 @@ def transcribe_one(audio_path): print(f"Detected language: {max(probs, key=probs.get)}") lang = max(probs, key=probs.get) # decode the audio - options = whisper.DecodingOptions(beam_size=5, best_of=5) + options = whisper.DecodingOptions(beam_size=5) result = whisper.decode(model, mel, options) # print the recognized text