After looking into this bug with Musicgen-Web#1078, I was able to reproduce it. I notice the Transformesr.js dependence package was pointed to its previous location. I updated it to its new location "huggingface/transformers": "^3.1.2", and retested. It worked. I also remove the previous xenova/transformers library from my node_modules and any reference to it in the app.
I notice other examples also use the huggingface/transformers so I figured it was fine to make a PR and see if it will help others facing this issue.
update the transformers dependencies to itsnew location
46cb2b98
update to the latest version
7725bca0
updated the version
c9f897c1
SeanGallenforce pushedfrom729b9ed2toc9f897c1146 days ago
SeanGallen146 days ago (edited 144 days ago)
Hi @xenova, could you please review these changes? If you're happy with them, I noticed a few other places with similar issues. I'd be happy to apply the same corrections to those as well, if you'd like.
After looking into this bug with Musicgen-Web #1078, I was able to reproduce it. I notice the Transformesr.js dependence package was pointed to its previous location. I updated it to its new location
"huggingface/transformers": "^3.1.2",
and retested. It worked. I also remove the previousxenova/transformers
library from my node_modules and any reference to it in the app.I notice other examples also use the
huggingface/transformers
so I figured it was fine to make a PR and see if it will help others facing this issue.