NokiMo
Furkan Gözükara
Furkan Gözükara

patreon


Auto Installer For AudioCraft Plus - MusicGen - AudioGen - An All-in-One AudioCraft WebUI

Patreon exclusive posts index to find our scripts easily, Patreon scripts updates history to see which updates arrived to which scripts and amazing Patreon special generative scripts list that you can use in any of your task.

Join discord to get help, chat, discuss and also tell me your discord username to get your special rank : SECourses Discord

Please also Star, Watch and Fork our Stable Diffusion & Generative AI  GitHub repository and join our Reddit subreddit and follow me on LinkedIn (my real profile)

=======

Super Important Windows Requirements

Latest Installer Zip Files

https://github.com/FurkanGozukara/Stable-Diffusion/blob/main/Tutorials/AI-Music-Generation-Audiocraft-Tutorial.md

Tutorial video : https://youtu.be/v-YpvPkhdO4

4 December 2023 Update

29 November 2023 Update

8 October 2023 Update

Please install and use Python 3.10.11 : https://www.python.org/downloads/release/python-31011/

How to install Python tutorial : https://youtu.be/B5U7LJOvH6g

Now it will also auto clone the repo so you don't have to do anything. Just put .bat files into a folder and run them

### 11 June 2023

The new commands added to the launch options. You can also modify my Patreon bat file and add these to bat file

--listen        Specify which IP address to listen on (0.0.0.0 for all interfaces

--server_port   Specify the port to listen on (7860 is the default)

--share         Create a Gradio public share link

--username      Specify a username to log into the Gradio public link

--password      Specify a password to log into the Gradio public link

--inbrowser     Automatically open the Gradio link in web browser

This AI model is able to generate amazing music. Nothing like Google's MusicML - 100 times better.

These attached .bat files will automatically install everything and let you run with a single click.

Download attached scripts into any folder you wish

First run install. bat

It will make a new venv and install everything. Your other installations won't be affected.

After installation close cmd and from now on use run. bat to start gradio

Auto Installer For AudioCraft Plus - MusicGen - AudioGen - An All-in-One AudioCraft WebUI

Comments

great

Furkan Gözükara

i was looking for something like this, installed and its working even if it's from 2023 :-)

koon grizzly

delete the folder. it will be all deleted. there could be models in hugging face cache folder. cache folder : https://www.patreon.com/posts/108419878

Furkan Gözükara

Hey, I seem to have completely messed up the installation. Is there a way I could completely restart and delete all the files installed by the install bat. I was running into a error where it said "Module 'pydub' not found" and tried to fix it on my own.

Kristopher Strickland

Thanks. No clue how it got here. I was in Flux finetuning post when writing it.

Zd Ba

oil paintings of one given painter would work perfect. if you have from different painters, then you will get mixed results of each person style.

Furkan Gözükara

Hi I am a little bit struggling with what you exactly mean by style consistent dataset. For person I understood I should have only one person, e.g. me, but for style ? Could you please explain a little bit ? Does it mean, to be style consistent, to have for example only oil paintigs of one given painter ? Thank you.

Zd Ba

if they are working great

Furkan Gözükara

I have found this Dr, MusicGen: https://www.kaggle.com/code/hinepo/generate-music-with-audio-craft And this is for AudioGen: https://colab.research.google.com/github/camenduru/audiogen-colab/blob/main/audiogen_colab.ipynb I was more interested about audiogen to generate some sound effects

Moh'd Mahfadi

sadly i dont have. but on kaggle it may work i should try and make a notebook

Furkan Gözükara

Is there a kaggle or colab for this Dr?

Moh'd Mahfadi

it can't generate yet consistently

Furkan Gözükara

How do you generate 1 hour song ?

Taehyun Park

Thank you! I will check it

David Cabrera

Just updated the post and added AudioCraft Plus. it supports all features and more

Furkan Gözükara

Thank you, it worked great, is it possible to add the "continuation" parameters? It basically uses a song as a prompt and then tries to continue that song, like in here https://replicate.com/meta/musicgen?prediction=lyqvbr3by527karnwkaapq23se I tried writing some stuff in the py file with chatgpt but failed. Thanks

David Cabrera

3.12 won't work. you need to install and use python 3.10.x. install 3.10.11. after that do a fresh install : https://youtu.be/B5U7LJOvH6g

Furkan Gözükara

3.12 won't work. you need to install and use python 3.10.x. install 3.10.11. after that do a fresh install : https://youtu.be/B5U7LJOvH6g

Furkan Gözükara

https://1drv.ms/v/s!AqpOr2ljsKmxgt4ksQfl4XxAExRweg?e=kejWCB video link

Sagar Parmar

https://1drv.ms/v/s!AqpOr2ljsKmxgt4ksQfl4XxAExRweg?e=kejWCB Video

Sagar Parmar

python version Python 3.12.0

Sagar Parmar

I just tested and i have no such error? i made a fresh install. can you let me know when exactly you are getting this error? a video would be amazing

Furkan Gözükara

i am testing right now. what is your python version?

Furkan Gözükara

Traceback (most recent call last): File "H:\Local install\music\audiocraft\demos\musicgen_app.py", line 22, in from einops import rearrange ModuleNotFoundError: No module named 'einops'

Sagar Parmar

fixed please redownload and reinstall

Furkan Gözükara

fixing right now give me 5 min please thank you

Furkan Gözükara

I'm running your install on a windows 10 machine with RTX 3090 card. When running the run.bat file I get following error message: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.1.0+cu121 with CUDA 1201 (you have 2.1.0+cpu) Python 3.10.11 (you have 3.10.11) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) I have tried re-installing xformers - to no avail. What am I doing wrong?

Tim Nowacki

please reinstall like this it would be easiest way to solve error . under a different name such as audiocraft_app

Furkan Gözükara

sure i can help. did you install it inside e inside folder named as audiocraft? this looks like the issue. can you show me screenshot of your installation folder?

Furkan Gözükara

I am getting this error when running the run.bat file: The system cannot find the path specified. python: can't open file 'E:\\audiocraft\\audiocraft\\demos\\musicgen_app.py': [Errno 2] No such file or directory Press any key to continue . . . Can you help? Thanks.

Marc Jagoe

Nice

Furkan Gözükara

Yep, models auto-loaded in the gradio app :)

BecauseReasons

oh with models? i haven't seen yet thanks

Furkan Gözükara

The code was out yesterday.

BecauseReasons

interesting. but this model i think will get improved. i am following their github repo and developers already started to become more active. people are doing git pulls. that won't happen in google. also how do you test they didn't release code or something?

Furkan Gözükara

Thanks! but to be honest (played with this yesterday), it's very much LIKE MusicLM, in fact sometimes MusicLM produces better results. Very much up to interpretation.

BecauseReasons

i don't have a mac so can't try. but perhaps chatgpt especially gpt4 can work. do you have them? like a command like this: turn below windows .bat script into mac shell script and copy paste my script below

Furkan Gözükara

Is it possible to make these .bats available for Mac as shell scripts?

Vadim Vozmitsel


Related Creators