transformers.js
transformers.js copied to clipboard
Error running `Xenova/discogs-maest-30s-pw-73e-ts`
System Info
MacOS, client rendered Svelte app.
Environment/Platform
- [X] Website/web-app
- [ ] Browser extension
- [ ] Server-side (e.g., Node.js, Deno, Bun)
- [ ] Desktop app (e.g., Electron)
- [ ] Other (e.g., VSCode extension)
Description
Hi, i'm facing an error when trying to use Xenova/discogs-maest-30s-pw-73e-ts
Uncaught (in promise) Error: Could not locate file: "https://huggingface.co/Xenova/discogs-maest-30s-pw-73e-ts/resolve/main/preprocessor_config.json
The error is returned while creating the pipeline.
this.pipeline = await pipeline('audio-classification', 'Xenova/discogs-maest-30s-pw-73e-ts');
// run the model
const result = await this.pipeline!(this.createAudioURL());
Not really sure if it's user error or an actual bug with the uploaded model
Reproduction
this.pipeline = await pipeline('audio-classification', 'Xenova/discogs-maest-30s-pw-73e-ts');
// run the model
const result = await this.pipeline!(this.createAudioURL());
Expect not to see an error when creating the pipeline