Views
No views yet
lineart_style1from diffusers import StableDiffusionPipeline
2
3pipe = StableDiffusionPipeline.from_pretrained(
4 "runwayml/stable-diffusion-v1-5",
5 torch_dtype=torch.float16,
6).to("cuda")
7
8pipe.load_lora_weights("whitebearhands/lineart-lora")
9
10image = pipe(
11 "lineart_style, a person working at a desk, clean lines",
12 negative_prompt="blurry, low quality, color, photorealistic",
13).images[0]