whisper-node
whisper-node copied to clipboard
Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)
I have made the same issue in the [ts version one](https://github.com/sunshineLixun/whisper-node-ts/issues/2) . But thought I might as well leave it here for future reference. Basically same issue as listed in...
I'm missing a thing? > node main.js [whisper-node] Transcribing: audios/geladeira.wav [whisper-node] Problem: whisper_init_from_file_with_params_no_state: loading model from './models/ggml-base.bin' whisper_model_load: loading model whisper_model_load: n_vocab = 51865 whisper_model_load: n_audio_ctx = 1500 whisper_model_load: n_audio_state...
node main.js [whisper-node] Transcribing: audios/elogio.wav [whisper-node] Problem: TypeError: Cannot read properties of null (reading 'shift') at parseTranscript (/home/jefaokpta/Downloads/whisper/node_modules/whisper-node/dist/tsToArray.js:7:11) at /home/jefaokpta/Downloads/whisper/node_modules/whisper-node/dist/index.js:36:57 at Generator.next () at fulfilled (/home/jefaokpta/Downloads/whisper/node_modules/whisper-node/dist/index.js:5:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) undefined
## Problem When using this library in a Nextjs project v14, and executing it in a server component I'm receiving this error I already follow the `README.md` and executed the...
Following the instructions in the Readme, I get: ``` ╰─(base) ⠠⠵ ts-node src/process_scenes.ts --node on master↑1|✚16…17 Error preparing scenes: src/lib/Bark.ts:5:32 - error TS7016: Could not find a declaration file for...
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...
I'm encountering a TypeError while attempting to transcribe audio from a WAV file using the whisper-node library in my NestJS project. Here's my code snippet: import whisper from 'whisper-node'; import...
I'm encountering a TypeError while attempting to transcribe audio from a WAV file using the whisper-node library in my NestJS project. Here's my code snippet: import whisper from 'whisper-node'; import...
I'm on nodejs 20. I don't want to use typescript, but I do want to use whisper-node in javascript the import statement of `import whisper from 'whisper-node';` returns Cannot use...
`lines.shift()` is unnecessary and leads to empty transcriptions.