Views
No views yet
in OnePiece style 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('Kdn0110/kontext-OnePiece', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('a person in fighting mode in OnePiece style').images[0]# TODO: add an example code snippet for running this diffusion pipeline