Introducing MusicGen Web: AI-powered music generation directly in your browser, built with 🤗…
Xenova
Visit on X@xenovacom21K followers
31,286 views
Introducing MusicGen Web: AI-powered music generation directly in your browser, built with 🤗 Transformers.js! 🎵
Everything runs 100% locally, meaning no calls to an API! 🤯 Served as a static website... this costs $0 to host and run! 🔥
Try it out yourself! 👇
6 Comments
Comments from the original post on X (Twitter)

@xenovacom
Source code: Link to demo:
21 likes

@Rufus87078959
@ClementDelangue This is very good.
1 like

@deifosv
Pushing the boundaries of what can be done in the browser, this is awesome.

@CrushfSubz
Thank you for the awesome demos! It helps understand how accessible AI/ML is now. Keep up the good work!

@mcaaroni
hey @xenovacom trying to reproduce it with one of my own finetunes - could you give me some pointers on how you did the quantization? i'm using optimum-cli for onnx export, but my model ends up generating only a short audio snippet after exporting to onnx

@xenovacom
Yep, cc-by-nc-4.0. Original model: Transformers.js-compatible (ONNX) model:
5 likes