-
Notifications
You must be signed in to change notification settings - Fork 15
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
What's the entry point for bundling? #2
Comments
It looks like the a request is being made to https://cdn.jsdelivr.net/npm/@diffusionstudio/piper-wasm@1.0.0/build/piper_phonemize.data twice. The second request is erroring.
|
I haven't tested |
I thought this was supposed to be working in the browser standalone? I'm testing on Chromium Version 128.0.6569.0 (Developer Build) (64-bit). Use
errors are thrown
|
Not sure what you're trying to do, the library is already bundled. you just need to install it on your frontend, although I have now removed |
There's no installation needed. |
You can't get the code as-is to |
@k9p5 Included an MVCE d840dad published at GH Pages of my fork https://guest271314.github.io/vits-web/. I'll probably add encoding to WebM https://github.com/davedoesdev/webm-muxer.js, MP3 https://github.com/guest271314/MP3Recorder, raw Opus packets with WebCodecs https://github.com/guest271314/WebCodecsOpusRecorder, and a live |
I already wrote an opfs mock for unit testing in node, with some modification I could have it write to a tempdir instead, so that in node it will access the usual file system. |
Wish I would have seen this earlier, now I put a lot of time into writing my own demo app: https://huggingface.co/spaces/diffusionstudio/vits-web |
Works, after a wait, with this error
I think using a Web extension for this will get rid of waiting for voices, piper.js, and onyx-runtimeweb.js to download. Download them once, store in extension, communicate with extension from arbitrary Web pages. If running this using |
I think I figured out how to bundle your code, and you and I both published working examples, so I'll close this. Thanks. |
What's the entry point? So we can bundle to a single script with
deno
andbun
?How are you running this in the browser?
The text was updated successfully, but these errors were encountered: