5 ms·
Just specify language and record an audio in another language. >result = model.transcribe("audio.wav", language="english")
by paraschopra 4y ago
Just specify language and record an audio in another language.
>result = model.transcribe("audio.wav", language="english")
- berberous 4y agoThat actually seems to set the language for it to transcribe (as opposed to it guessing), with the following triggering a translation to English: result = model.transcribe("audio.wav", task="translate") But your post helped me figure out the above, so thank you!