Closed totallynotdavid closed 7 months ago
filePath: /workspaces/nodejs-whisper/audio/holmes.wav
[Nodejs-whisper] Models already exist. Skipping download.
[Nodejs-whisper] Executing command: ./main -otxt -ovtt -osrt -ml 1 -sow true -l auto -m ./models/ggml-base.en.bin -f /workspaces/nodejs-whisper/audio/holmes.wav
[Nodejs-whisper] Transcribing Done!
[Transcription service] Error: Error: Something went wrong while executing the command.
at /workspaces/nodejs-whisper/node_modules/nodejs-whisper/src/index.ts:39:9
at Generator.next (<anonymous>)
at fulfilled (/workspaces/nodejs-whisper/node_modules/nodejs-whisper/dist/index.js:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
/workspaces/nodejs-whisper/node_modules/nodejs-whisper/dist/index.js:5
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
^
Error: Something went wrong while executing the command.
at /workspaces/nodejs-whisper/node_modules/nodejs-whisper/src/index.ts:39:9
at Generator.next (<anonymous>)
at fulfilled (/workspaces/nodejs-whisper/node_modules/nodejs-whisper/dist/index.js:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Tested on:
It takes too long to process and uses too much resources, I don't find it suitable for our use cases. There should be better methods for audio-to-text.
Tried: