Purfview 90db0de189
Bugfix: Illogical "Avoid computing higher temperatures on no_speech" (#1903)
* Bugfix: Illogical "Avoid computing higher temperatures on no_speech"

Bugfix for https://github.com/openai/whisper/pull/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:
8bc8860694/whisper/transcribe.py (L421)

And in code there:
8bc8860694/whisper/transcribe.py (L243-L251)

* Fix if "logprob_threshold=None"

---------

Co-authored-by: Jong Wook Kim <jongwook@openai.com>
2024-11-30 21:47:01 -08:00
..
2023-11-06 10:10:30 -08:00
2024-09-30 10:59:51 -07:00
2023-11-06 10:10:30 -08:00
2024-09-30 10:27:14 -07:00
2024-09-30 10:27:14 -07:00
2023-11-06 10:10:30 -08:00
2024-09-30 11:20:53 -07:00