Auto Installer For AudioCraft Plus - MusicGen - AudioGen - An All-in-One AudioCraft WebUI
🕑 Added 2023-06-09 20:25:46 +0000 UTCPatreon 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
Python 3.10, FFmpeg, CUDA 12.4, cuDNN 8.9 or above, C++ tools and Git
If it doesn't work make sure to below tutorial and install everything exactly as shown in this below tutorial
Latest Installer Zip Files
Tutorial video : https://youtu.be/v-YpvPkhdO4
4 December 2023 Update
A huge update is made
Automatic Installers for https://github.com/GrandaddyShmax/audiocraft_plus added
AudioCraft Plus is a An All-in-One AudioCraft WebUI
Download latest zip files
Extract to any folder and use preferred installer
We support both original audiocraft and AudioCraft Plus
I prefer AudioCraft Plus as it has many more features
Download audio craft plus features.png to see its features
29 November 2023 Update
Libraries got updated, tested and working great. Please redownload install file and reinstall
Torch to 2.1.0 Cuda 12.1
xFormers to 0.22
You will get warning "Error caught was: No module named 'triton'". triton not available on Windows but will still work perfect
8 October 2023 Update
There was a huge update and new features. I updated both auto installer and auto run files. Use Python 3.10.11 version specifically
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
Comments
Furkan Gözükara
great
koon grizzly
i was looking for something like this, installed and its working even if it's from 2023 :-)
Furkan Gözükara
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
Kristopher Strickland
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.
Zd Ba
Thanks. No clue how it got here. I was in Flux finetuning post when writing it.
Furkan Gözükara
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.
Zd Ba
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.
Furkan Gözükara
if they are working great
Moh'd Mahfadi
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
Furkan Gözükara
sadly i dont have. but on kaggle it may work i should try and make a notebook
Moh'd Mahfadi
Is there a kaggle or colab for this Dr?
Furkan Gözükara
it can't generate yet consistently
Taehyun Park
How do you generate 1 hour song ?
David Cabrera
Thank you! I will check it
Furkan Gözükara
Just updated the post and added AudioCraft Plus. it supports all features and more
David Cabrera
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
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
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
Sagar Parmar
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
Furkan Gözükara
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?
Sagar Parmar
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'
Furkan Gözükara
fixed please redownload and reinstall
Furkan Gözükara
fixing right now give me 5 min please thank you
Tim Nowacki
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?
Furkan Gözükara
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?
Marc Jagoe
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.
Furkan Gözükara
Nice
BecauseReasons
Yep, models auto-loaded in the gradio app :)
Furkan Gözükara
oh with models? i haven't seen yet thanks
BecauseReasons
The code was out yesterday.
Furkan Gözükara
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?
BecauseReasons
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.
Furkan Gözükara
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
Vadim Vozmitsel
Is it possible to make these .bats available for Mac as shell scripts?