Skip to content

Error: Unknown Feature Extractor type: PyAnnoteFeatureExtractor #974

Open
@yolossn

Description

@yolossn

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

  1. Clone the repo

git clone https://huggingface.co/spaces/Xenova/whisper-speaker-diarization

  1. Change the transformer.js version to latest ie 2.17.2 in package.json file.
  2. Run the code

npm run dev.

  1. Open localhost:5173 in browser and check the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions