Forked from mberman84/gist:afd800f8d4a8764a22571c1a82187bad
Created
March 15, 2024 08:27
-
-
Save AlexOcculate/91301772256b2cfe2e24a70a3ecd90e5 to your computer and use it in GitHub Desktop.
Audiocraft Installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# must have miniconda installed | |
# installation for musicgen | |
conda create -n audiocraft python=3.9 | |
conda activate audiocraft | |
brew install ffmpeg (for mac) | |
winget install ffmpeg (for windows) | |
git clone https://github.com/facebookresearch/audiocraft.git | |
cd audiocraft | |
python -m pip install -r requirements.txt | |
python -m demos.musicgen_app --share | |
# first time you run inference, it'll download the model | |
# installation for audiogen | |
# NOTE: after already installing music gen | |
# NOTE: after PR185 gets merged, you won't have to execute the next two commands | |
git fetch origin pull/185/head:PR185 | |
git checkout PR185 | |
python -m demos.audiogen_app --share | |
# first time you run inference, it'll download the model |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment