riffusion-hobby
Stable diffusion for real-time music generation
File Explorer
Download Latest Version (.zip)- black.yml
- ci.yml
- mypy.yml
- pip.yml
- ruff.yml
- __init__.py
- baseten.py
- cog_riffusion.py
- README.md
- __init__.py
- prompt_weighting.py
- README.md
- __init__.py
- audio_to_audio.py
- home.py
- image_to_audio.py
- interpolation.py
- sample_clips.py
- split_audio.py
- text_to_audio.py
- text_to_audio_batch.py
- __init__.py
- playground.py
- README.md
- util.py
- __init__.py
- audio_util.py
- base64_util.py
- fft_util.py
- image_util.py
- torch_util.py
- __init__.py
- audio_splitter.py
- cli.py
- datatypes.py
- py.typed
- riffusion_pipeline.py
- server.py
- spectrogram_converter.py
- spectrogram_image_converter.py
- spectrogram_params.py
- agile.png
- marim.png
- mask_beat_lines_80.png
- mask_gradient_dark.png
- mask_gradient_top_70.png
- mask_gradient_top_fifth_75.png
- mask_top_third_75.png
- mask_top_third_95.png
- motorway.png
- og_beat.png
- vibes.png
- clip_0_start_15795_ms_duration_5678_ms.wav
- clip_1_start_860_ms_duration_5678_ms.wav
- clip_2_start_103694_ms_duration_5678_ms.wav
- clip_2_start_103694_ms_duration_5678_ms.png
- clip_2_start_103694_ms_duration_5678_ms_stereo.png
- tired_traveler.mp3
- README.md
- __init__.py
- audio_to_image_test.py
- image_to_audio_test.py
- image_util_test.py
- print_exif_test.py
- sample_clips_test.py
- spectrogram_converter_test.py
- spectrogram_image_converter_test.py
- test_case.py
- .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 RecommendedPrerequisites
- 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
EasyPrerequisites
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
Was this content helpful?
(0 ratings)
