Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 - update transformers.js dependency in examples #930

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from

Conversation

neonwatty
Copy link

Building on 903 this updates the remainder of examples' dependencies to v3.

This involves two simple updates - first to dependency in relevant package.json files

"@xenova/transformers": "github:xenova/transformers.js#v3" -->  "@huggingface/transformers": "^3.0.0-alpha.10"

and secondly to import of the library in corresponding worker / index files:

import {} from '@xenova/transformers'; --> import {} from '@huggingface/transformers';

Changes tested with each example locally and work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants