Text-to-Image
Diffusers
art
style
sdxl
lora
stable diffusion
stable-diffusion
stable-diffusion-diffusers
blacklight
makeup
neon
Instructions to use chillpixel/blacklight-makeup-sdxl-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use chillpixel/blacklight-makeup-sdxl-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("chillpixel/blacklight-makeup-sdxl-lora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
AttributeError: 'StableDiffusionXLPipeline' object has no attribute 'load_lora_weights'
#1
by csegalin - opened
which diffuser version are you using? I am getting this error
AttributeError: 'StableDiffusionXLPipeline' object has no attribute 'load_lora_weights'
thanks
load_lora_weights was possibly added in v0.19.2. However, I prefer using the bleeding edge version of Diffusers by installing it directly from the main branch with this command (replace the git commit identifier with the latest version):
pip install --upgrade --no-cache-dir git+https://github.com/huggingface/diffusers.git@5b78141fd3384ef6f94961e31787783fe22c5ab4