chenxwh / cog-whisper

MIT License
81 stars 28 forks source link

fix: Missing (best_of, beam_size, length_penalty) #14

Open justinmerrell opened 1 year ago

justinmerrell commented 1 year ago

These parameters were missing from the input and resulted in the error "patience requires beam_size to be given" being thrown.

Types, defaults, and descriptions were taken from here: https://github.com/openai/whisper/blob/main/whisper/transcribe.py