Views
No views yet




1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16, safety_checker=None).to("cuda")
5pipeline.load_lora_weights("iamkaikai/MATISSEE-LORA", weight_name="pytorch_lora_weights.safetensors")
6prompt = "MATISSEE-ART, brown, beige, coral, gray, orange red, violet, black, teal"
7for i in range(20):
8 image = pipeline(prompt, num_inference_steps=20).images[0]
9 image.save(f"./image_{str(i)}.png")