-
Hi, appreciate to stable-ts development for improving whisper. iam new in writing some code, i dont know how to put translate argument into my code, i have transcribing timestamp with great result, but i want to translate into another language. i am using this code, import stable_whisper i dont know how to put the translate command, anyone wanna help me write the code for it ? thank you so much |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Pass |
Beta Was this translation helpful? Give feedback.
Pass
task='translate'
intomodel.transcribe()
to translate, but keep in mind that word timestamps may not be reliable for translations and Whisper can only translate other languages into English (i.e. it was not trained to translate any to any language).