File size: 275 Bytes
b1aea00 |
1 2 3 4 5 6 |
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
controlnet = ControlNetModel.from_pretrained("monster-labs/control_v1p_sd15_qrcode_monster")
pipeline = StableDiffusionControlNetPipeline.from_pretrained(
"fill-in-base-model", controlnet=controlnet
) |