GrandaddyShmax / audiocraft_plus

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
MIT License
561 stars 63 forks source link

Converting this repo to a package #76

Open rsxdalv opened 4 months ago

rsxdalv commented 4 months ago

Hi, this repository is originally made as a fork; however, given the implementation style it was convertible to a package. This allows using it with whichever audiocraft version (until something breaks), and separates the custom code from the internals.

I have made a repository here that does just that, it makes this project into a one-script python package that can be installed.

https://github.com/rsxdalv/extension_audiocraft_plus

This is the installation command:

pip install git+https://github.com/rsxdalv/extension_audiocraft_plus@legacy#egg=extension_audiocraft_plus

Through my testing, the only extra library needed was pytaglib, so the requirements are simply:

audiocraft>=1.2
pytaglib

Secondly, this repository deals with the issue of installing the UI as a finished product. For that my personal answer is to create it as an extension for my project which makes the torch + everything installation a separate concern.

I think this repository has quite a novel approach to audiocraft so I hope it can survive without becoming obsolete.