Instructions to use PublicPrompts/borderlands with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PublicPrompts/borderlands with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("PublicPrompts/borderlands", 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
Commit ·
c725f59
1
Parent(s): 6e0c0a7
Add `scale_factor` to vae config. (#5)
Browse files- Add `scale_factor` to vae config. (49a92534b25390cab9824e0820184a1a23cb2d49)
Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>
19 unmodified lines20212223242519 unmodified lines"norm_num_groups": 32,"out_channels": 3,"sample_size": 256,"up_block_types": ["UpDecoderBlock2D","UpDecoderBlock2D",19 unmodified lines2021222324252619 unmodified lines"norm_num_groups": 32,"out_channels": 3,"sample_size": 256,"scaling_factor": 0.18215,"up_block_types": ["UpDecoderBlock2D","UpDecoderBlock2D",
vae/config.json+1