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

tokenizer not working on browser #7

Open
mohsinulhaq-deshaw opened this issue Sep 29, 2023 · 0 comments
Open

tokenizer not working on browser #7

mohsinulhaq-deshaw opened this issue Sep 29, 2023 · 0 comments

Comments

@mohsinulhaq-deshaw
Copy link

Tried this on a CRA app with WASM enabled.

image
We could easily fix this by adding an esm build besides the cjs. For now, I had to copy over the token count logic to my app and import the json from the package.

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

No branches or pull requests

1 participant