Diffusers How to use prithivMLmods/Coloring-Book-Flux-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("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("prithivMLmods/Coloring-Book-Flux-LoRA")
prompt = "Coloring Book, A black and white drawing of a truck parked in front of a house. The truck is facing towards the right side of the image. There is a large tree to the right of the truck. There are small bushes to the left of the house. A fence is behind the truck on the right. The house has a roof that is made up of wood. The sky above the house is filled with fluffy white clouds."
image = pipe(prompt).images[0]