Error with transformers.js
#1
by
jpcafe
- opened
Hi! Thanks for publishing this!
I'm getting an error with transformers.js.
Uncaught (in promise) Error: Could not locate file: "https://huggingface.co/Xenova/discogs-maest-30s-pw-73e-ts/resolve/main/preprocessor_config.json
Code snippet i'm using:
this.pipeline = await pipeline('audio-classification', 'Xenova/discogs-maest-30s-pw-73e-ts');
// run the model
const result = await this.pipeline!(this.createAudioURL());
I've tried setting quantize:true
in config options but it doesn't seem related to this error.
This seems like an implementation error, but i can only see a quantize_config.json uploaded. How can i run this model correctly?
Thanks in advance!