Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('ginipick/flux-lora-eric-cat', weight_name='flux-lora-eric-cat')
6image = pipeline('a portrait of p3rs0n').images[0]
7image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the
documentation on loading LoRAs in diffusers