Views
No views yet
None to trigger the image generation.1from diffusers import FluxKontextPipeline
2import torch
3pipeline = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", torch_dtype=torch.bfloat16).to('cuda')
4pipeline.load_lora_weights('semenetslitslink/sd_flux_context_monochrome_pets_1000', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('None').images[0]# TODO: add an example code snippet for running this diffusion pipeline