haoheliu / AudioLDM

AudioLDM: Generate speech, sound effects, music and beyond, with text.
https://audioldm.github.io/
Other
2.44k stars 222 forks source link

Google Colab #11

Closed aeiouaeiouaeiouaeiouaeiouaeiou closed 1 year ago

aeiouaeiouaeiouaeiouaeiouaeiou commented 1 year ago

Hugging Face web demo at this moment is failing to output the result as a video file. Are there any plans to add Google Colab notebook in the repository?

haoheliu commented 1 year ago

Here is a google colab demo made by @TeuthisDreams: https://twitter.com/TeuthisDreams/status/1621324351420403712. Maybe of interest?

haoheliu commented 1 year ago

Also, I add a badge on the top of the readme in case you need it.

aeiouaeiouaeiouaeiouaeiouaeiou commented 1 year ago

It looks like they forgot to add a step for preinstalling packages:

2023-02-12_08-57-00

Nevertheless, the HF web demo works again for me.

olaviinha commented 1 year ago

I have a functioning Colab for this also (~based on another Colab~ no longer based on the other colab), in case interested: https://colab.research.google.com/github/olaviinha/NeuralTextToAudio/blob/main/AudioLDM_pub.ipynb

haoheliu commented 1 year ago

@olaviinha Looks nice. Can I use the link to your colab notebook in the badge of this repo so that people can play with it?

olaviinha commented 1 year ago

Sure, feel free!

olaviinha commented 1 year ago

@haoheliu Hey, it just occurred to me that would you mind adding parameter ?force_theme=dark to the colab link? I use some color codes in the outputs that may be too bright for light theme.

P.S. Style transfer has been added to notebook as well.

haoheliu commented 1 year ago

@olaviinha Will do. Fantastic thanks!