riffusion-hobby

(β˜… 3,900)

Stable diffusion for real-time music generation

  • .gitignore
  • CITATION
  • cog.yaml
  • LICENSE
  • pyproject.toml
  • README.md
  • requirements.txt
  • requirements_all.txt
  • requirements_dev.txt
  • setup.py
  • VERSION

# Installation Guide

1. Get the code
git clone https://github.com/riffusion/riffusion-hobby

Downloads the entire project code from GitHub to your computer.

cd riffusion-hobby

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • APT (Debian/Ubuntu 계열) Built into Debian/Ubuntu-based Linux distributions.
  • Homebrew A package manager for macOS/Linux.
sudo apt-get install ffmpeg # linux

Installs directly from the APT package repository (Debian/Ubuntu-based).

brew install ffmpeg # mac

Installs the pre-built package via Homebrew β€” no source build required.

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
python -m pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

python -m riffusion.cli -h

Runs the Python script (or module).

python -m riffusion.cli image-to-audio -h

Runs the Python script (or module).

python -m riffusion.cli image-to-audio --image spectrogram_image.png --audio clip.wav

Runs the Python script (or module).

python -m riffusion.streamlit.playground

Runs the Python script (or module).

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation