Instructions to use niobures/StableAudio with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use niobures/StableAudio with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("niobures/StableAudio", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
|
Download stable-audio-3-optimized/tensorRT/README.md from niobures/StableAudio: direct link, hf CLI and curl.
- Browser
- Download file 0 Bytes
-
https://huggingface.co/niobures/StableAudio/resolve/main/stable-audio-3-optimized/tensorRT/README.md
- Command line
-
hf download hf://niobures/StableAudio/stable-audio-3-optimized/tensorRT/README.md
-
curl -L -o README.md https://huggingface.co/niobures/StableAudio/resolve/main/stable-audio-3-optimized/tensorRT/README.md
0 Bytes