When using whisper-node, it blocks the rest of the requests in nest.js.
Opened this issue · 0 comments
Vahe-Vardanyan commented
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?