Instructions to use lora-library/B-LoRA-pen_sketch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lora-library/B-LoRA-pen_sketch 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("lora-library/B-LoRA-pen_sketch") prompt = "A [v30]" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
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("lora-library/B-LoRA-pen_sketch")
prompt = "A [v30]"
image = pipe(prompt).images[0]pen_sketch

- Prompt
- A [v30]
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
- Downloads last month
- 29
Model tree for lora-library/B-LoRA-pen_sketch
Base model
stabilityai/stable-diffusion-xl-base-1.0