Diffusers How to use UmeAiRT/FLUX.1-dev-LoRA-Impressionism 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("UmeAiRT/FLUX.1-dev-LoRA-Impressionism")
prompt = "A painting of a man wearing a black hat, a black coat, and a beard. He is looking to the side and appears to be a portrait of a famous artist. The man is standing in front of a curtain and a window, with a potted plant nearby. The painting is in an impressionist style, capturing the artist's unique style and technique."
image = pipe(prompt).images[0]