Diffusers How to use prithivMLmods/Seamless-Pattern-Design-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/Seamless-Pattern-Design-Flux-LoRA")
prompt = "This is a vibrant digital illustration featuring a seamless pattern of four Chihuahua heads, each adorned with large, bright pink sunglasses. The dogs have tan fur with white chests and expressive, wide eyes. The background is a solid, vivid blue, interspersed with scattered pink heart shapes, adding a playful and whimsical touch. The illustration style is cartoonish, with smooth shading and exaggerated features, creating a cheerful and eye-catching design."
image = pipe(prompt).images[0]