Diffusers How to use prithivMLmods/Flux-C33-Design-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/Flux-C33-Design-LoRA")
prompt = "C33 Design, a close-up shot captures a vibrant blue smiley face, adorned with a black hat adorned with two yellow buttons. The hat is adorned with an eye-level yellow circle with a smiling face, adding a pop of color to the scene. The eyes are glowing blue, creating a striking contrast to the black hat. The helmet is adorned by a black strap, adding depth to the composition. The background is a muted gray, adding to the overall composition."
image = pipe(prompt).images[0]