Skip to content

WASM version not working: Cannot read properties of undefined (reading 'buffer') #3059

@where-is-s

Description

@where-is-s

I am running WebAssembly version from the demo website (https://ggml.ai/whisper.cpp/) and it doesn't work for me at all. Steps to reproduce:

  1. Windows 10 19045.5737, Chrome version: 135.0.7049.43
  2. Go to https://ggml.ai/whisper.cpp/
  3. Download any model, for example base-q5_1
  4. Choose any wav file or get input from microphone
  5. Click Transcribe

Result: nothing happens, browser window stops accepting mouse clicks. In dev console the following error appears:

Image

Text:

helpers.js:14 
main.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'buffer')
    at __emval_get_property (main.js:1:1363053)
    at 003a4462:0xc49cf
    at 003a4462:0xc5157
    at Object.full_default (eval at craftInvokerFunction (main.js:1:1), <anonymous>:9:10)
    at whisper.cpp/:647:42

I have tried to build whisper.cpp and run it locally but result is the same. How can this be fixed?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions