We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a11dfa0 commit aa88649Copy full SHA for aa88649
speech_recognition/whisper/run.py
@@ -23,7 +23,7 @@ def single_pass_pytorch(_runner, _librispeech):
23
)
24
25
def transcribe_wrapper(audio):
26
- return transcribe(model, audio, verbose=None)
+ return transcribe(model, audio, no_speech_threshold=1.0, verbose=None)
27
28
runner = PyTorchRunnerV2(transcribe_wrapper, throughput_only=True)
29
librispeech = LibriSpeech()
@@ -52,7 +52,7 @@ def single_pass_pytorch(_runner, _librispeech):
52
53
54
55
56
57
runner = PyTorchRunnerV2(transcribe_wrapper)
58
0 commit comments