MusicGen-colab icon indicating copy to clipboard operation
MusicGen-colab copied to clipboard

app.py now supports `--share`

Open adefossez opened this issue 2 years ago • 5 comments

Hello @camenduru , thanks for the coverage and Colab on our work! We have recently updated the app.py gradio app, so that you can pass --share to activate the shared link. this mean you can directly use the audiocraft repository, which might allow to benefit from the latest advances without having to update your fork of the repo.

adefossez avatar Jun 11 '23 13:06 adefossez

thanks @adefossez ❤

camenduru avatar Jun 11 '23 14:06 camenduru

Hi @adefossez 👋 If we convert the video to a 3:1 aspect ratio, then people can share it on Twitter

https://github.com/facebookresearch/audiocraft/compare/main...camenduru:audiocraft:dev

https://github.com/camenduru/MusicGen-colab/assets/54370274/4bf56eb6-4e0e-48cc-b8b7-828d8f81d188

camenduru avatar Jun 11 '23 17:06 camenduru

also when we switch the model, we should free the vram otherwise the vm will crash

image

camenduru avatar Jun 11 '23 17:06 camenduru

As always, no matter what the Meta developers do, everything works through the ass. you can generate a maximum of 5 songs, after which the network error and the product is not available, also pieces for more than 10 seconds are complete nonsense, nothing is clear what is playing

promocot avatar Jun 12 '23 22:06 promocot

I have recently made major improvements over at Oncorporation/audiocraft

  • I put a background image, which you can change, to make the size ratio of the video sharable. This image can include the settings used.
  • Both Melody conditioned and Fully Generated music has a 720s max length.
  • The music is now very consistent, as the settings in the UI are more specific and not limited to integers.
  • There is a hugging face version up and running for you to test Surn/UnlimitedMusicGen (Branch huggingface)
  • Volume levels are better to prevent clipping
  • waves are stereo, no longer mono
  • limiters on some variables to reduce hacking
  • lots more, but my interrupt functions need help!

Oncorporation avatar Jun 19 '23 19:06 Oncorporation