Views
No views yet

1from diffusers import FluxPipeline
2import torch
3
4pipe = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipe.load_lora_weights('WiroAI/harley-quinn-flux-lora', weight_name='harley_quinn_flux_lora.safetensors')
6image = pipe("[trigger], Harley Quinn is in the Gotham City's dark night with a big smile on her face.").images[0]
7image.save("harley_quinn.png")