Diffusers How to use prithivMLmods/Abstract-Cartoon-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/Abstract-Cartoon-Flux-LoRA")
prompt = "Abstract Cartoon, An eye-level painting of a monsters face, painted in a vibrant orange, yellow, red, and blue color scheme. The monsters eyes are covered in white paint, adding a pop of color to the scene. The eyes are squinted with black paint, while the mouth is adorned with red and white paint. The background is a dark blue, creating a contrast with the orange and yellow of the monsters head."
image = pipe(prompt).images[0]