Text-to-Image
Diffusers
PyTorch
Safetensors
English
StableDiffusionPipeline
diffusion
ddpm
custom-architecture
Instructions to use lea97338/Lou with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lea97338/Lou with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lea97338/Lou", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download vae/config.json from lea97338/Lou: direct link, hf CLI and curl.
- Browser
- Download file 764 Bytes
-
https://huggingface.co/lea97338/Lou/resolve/main/vae/config.json
- Command line
-
hf download hf://lea97338/Lou/vae/config.json
-
curl -L -o config.json https://huggingface.co/lea97338/Lou/resolve/main/vae/config.json
764 Bytes
| { | |
| "_class_name": "AutoencoderKL", | |
| "_diffusers_version": "0.40.0", | |
| "act_fn": "silu", | |
| "block_out_channels": [ | |
| 128, | |
| 256, | |
| 512, | |
| 512 | |
| ], | |
| "down_block_types": [ | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D" | |
| ], | |
| "force_upcast": true, | |
| "in_channels": 3, | |
| "latent_channels": 4, | |
| "latents_mean": null, | |
| "latents_std": null, | |
| "layers_per_block": 2, | |
| "mid_block_add_attention": true, | |
| "norm_num_groups": 32, | |
| "out_channels": 3, | |
| "sample_size": 512, | |
| "scaling_factor": 0.18215, | |
| "shift_factor": null, | |
| "up_block_types": [ | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D" | |
| ], | |
| "use_post_quant_conv": true, | |
| "use_quant_conv": true | |
| } | |