Instructions to use linyueqian/stable_audio_random with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use linyueqian/stable_audio_random with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("linyueqian/stable_audio_random", 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
Upload folder using huggingface_hub
Browse files
projection_model/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableAudioProjectionModel",
|
| 3 |
"_diffusers_version": "0.36.0",
|
| 4 |
-
"conditioning_dim":
|
| 5 |
"max_value": 47.0,
|
| 6 |
"min_value": 0.0,
|
| 7 |
"text_encoder_dim": 768
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableAudioProjectionModel",
|
| 3 |
"_diffusers_version": "0.36.0",
|
| 4 |
+
"conditioning_dim": 768,
|
| 5 |
"max_value": 47.0,
|
| 6 |
"min_value": 0.0,
|
| 7 |
"text_encoder_dim": 768
|
projection_model/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecc38f5969f69346c263744a7b0929d47c612ae89e3841af5342f7787981853a
|
| 3 |
+
size 1586944
|