Text-to-Audio
Diffusers
English
FlaxStableDiffusionPipeline
TPU
JAX
Flax
stable-diffusion
text-to-image
Instructions to use flax/riffusion-model-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use flax/riffusion-model-v1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("flax/riffusion-model-v1", 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
Update README.md
#2
by emirhanzebangui - opened
README.md
CHANGED
|
@@ -3,11 +3,6 @@ license: openrail
|
|
| 3 |
library_name: diffusers
|
| 4 |
tags:
|
| 5 |
- TPU
|
| 6 |
-
- JAX
|
| 7 |
-
- Flax
|
| 8 |
-
- stable-diffusion
|
| 9 |
-
- text-to-image
|
| 10 |
-
- text-to-audio
|
| 11 |
language:
|
| 12 |
- en
|
| 13 |
-
---
|
|
|
|
| 3 |
library_name: diffusers
|
| 4 |
tags:
|
| 5 |
- TPU
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
+
---
|