Error: Unknown Feature Extractor type: PyAnnoteFeatureExtractor
Opened this issue · 1 comments
yolossn commented
System Info
version: 2.17.2
browser: brave
JS library: vite
Environment/Platform
- Website/web-app
- Browser extension
- Server-side (e.g., Node.js, Deno, Bun)
- Desktop app (e.g., Electron)
- Other (e.g., VSCode extension)
Description
I am trying to run this example locally. Initially I was getting issues with the transformer.js version so I changed it to the latest version. I am getting the following error message in the browser console.
Uncaught (in promise) Error: Unknown Feature Extractor type: PyAnnoteFeatureExtractor
at AutoProcessor.from_pretrained (http://localhost:5173/node_modules/.vite/deps/@xenova_transformers.js?v=f17fc377:27905:15)
at async Promise.all (index 1)
at async load (http://localhost:5173/src/worker.js?worker_file&type=module:59:71)
Reproduction
- Clone the repo
git clone https://huggingface.co/spaces/Xenova/whisper-speaker-diarization
- Change the transformer.js version to latest ie 2.17.2 in package.json file.
- Run the code
npm run dev.
- Open localhost:5173 in browser and check the console.