RealtimeSTT
RealtimeSTT copied to clipboard
translate not working for transcribe method of faster-whisper
I have added the translate task like so in the _transcription_worker.
segments, info = model.transcribe(
audio,
language=language if language else None,
beam_size=beam_size,
initial_prompt=initial_prompt,
suppress_tokens=suppress_tokens,
task="translate"
)
Is there a reason why it does not translate or could this be a faster-whisper issue? I'll try to setup faster-whisper separately and test it there as well.
Tested with: German, Japanese on small model.