Vaibhavs10/optimise-my-whisper

Where do i pass language parameter?

Opened this issue · 1 comments

Where do i pass language parameter?

Due to a bug fix in huggingface/transformers#28687 transcription using a multilingual Whisper will default to language detection followed by transcription instead of translation to English.This might be a breaking change for your use case. If you want to instead always translate your audio to English, make sure to pass language='en'.