JacobLinCool / smart-whisper

Smart Whisper is a native Node.js addon designed for efficient and streamlined interaction with the whisper.cpp, with automatic model offloading and model manager.
http://jacoblin.cool/smart-whisper/
MIT License
17 stars 3 forks source link

[feature request] detected spoken language #40

Open silvioprog opened 3 months ago

silvioprog commented 3 months ago

Hi.

It would by really useful if we could return the spoken language in the audio, something like this.

So, we would have a property returning en, pt, es etc.

TIA

JacobLinCool commented 3 months ago

I think I can work on a PR for that.

silvioprog commented 3 months ago

I was working in a PR, but not sure if the correct implementation. Should I try to send it anyway for a code review?

JacobLinCool commented 3 months ago

Wow! That's amazing! I'll happy to review that when you are ready.

silvioprog commented 2 months ago

A little delayed, but finally PR sent https://github.com/JacobLinCool/smart-whisper/pull/43 🙌