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

When using whisper-node, it blocks the rest of the requests in nest.js.

Open Vahe-Vardanyan opened this issue 1 year ago • 0 comments

async getTranscript(filePath: string): Promise { const options = { modelName: 'base.en', whisperOptions: { language: 'auto', gen_file_txt: false, gen_file_subtitle: false, gen_file_vtt: false, word_timestamps: true, }, }; if (filePath) { return await whisper(filePath, options); } return null; }

if I remove this line "return await whisper(filePath, options); " then everything works fine, after putting it no request works in that project․

What is the problem? How to fix it?

Vahe-Vardanyan avatar Feb 23 '24 09:02 Vahe-Vardanyan