nodejs-whisper
nodejs-whisper copied to clipboard
Allow multiple models
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?
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.
Yep, thanks @starNGC2237
What I meant is more like an array of models, like
modelName: ['base.en', 'base.fr', 'base.it']