How to use openfree/van-gogh 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("openfree/van-gogh") prompt = "a self-portrait of Vincent van Gogh, painted by the renowned artist himself. The painting is composed of a variety of colors, including blues, greens, yellows, and reds, creating a vibrant and lively atmosphere. The man in the painting has a serious expression on his face, and his eyes are focused intently on something in the distance. His hair is dark and his beard is full and well-groomed. He is wearing a white shirt and a dark coat, and the background is a mix of blues and greens. [trigger]" image = pipe(prompt).images[0]