nodejs-whisper icon indicating copy to clipboard operation
nodejs-whisper copied to clipboard

Allow multiple models

Open binarykitchen opened this issue 7 months ago • 2 comments

Presently, you can only define one model. What if I want to support multiple languages?

modelName: 'base.en'

English only. Okay. What if I would like to add French or Chinese? Could this be changed into an array, plurals?

binarykitchen avatar Jun 28 '25 11:06 binarykitchen

Yeah, you can.Please use a model without the '.en' suffix, model will automatically recognizes the language. 'base.en' means it performs better in recognizing English.

starNGC2237 avatar Jul 30 '25 07:07 starNGC2237

Yep, thanks @starNGC2237

What I meant is more like an array of models, like

modelName: ['base.en', 'base.fr', 'base.it']

binarykitchen avatar Jul 31 '25 07:07 binarykitchen