alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.73k stars 1.08k forks source link

allow for multiple threads from vosk-translate #1252

Closed apple-corps closed 1 year ago

apple-corps commented 1 year ago

Hello,

This looks like a great piece of software. I'm looking forward to seeing a presentation in Chinese that I got from the net and doesn't caption. It's also awesome that we can use this software on our own devices!

I think the vosk-translate script should be modified to take a thread parameter to speed up translation. I tried the tasks parameter but it didn't look like it started threads or processes on my other CPUs. It looked like it was just using one or two cores.

Then would it be possible to add this to the translate script?

nshmyrev commented 1 year ago

Same issue as #1117