Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: Illogical "Avoid computing higher temperatures on no_speech" (#…
…1903) * Bugfix: Illogical "Avoid computing higher temperatures on no_speech" Bugfix for #1279 It's "silence" when decoding has failed due to `compression_ratio_threshold` too, when further down the code it's not "silence" anymore. "Silence" should be only when decoding has failed due to `logprob_threshold`. Like described there: https://github.com/openai/whisper/blob/8bc8860694949db53c42ba47ddc23786c2e02a8b/whisper/transcribe.py#L421 And in code there: https://github.com/openai/whisper/blob/8bc8860694949db53c42ba47ddc23786c2e02a8b/whisper/transcribe.py#L243-L251 * Fix if "logprob_threshold=None" --------- Co-authored-by: Jong Wook Kim <jongwook@openai.com>
- Loading branch information