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('mingyu-oo/FLUX_HD_ES', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('Designed by Hyundai, 3/4 front view, midsize sedan, three-box, balanced proportions, low stance, short overhangs, sleek beltline, clean body surfacing, angular shoulder lines, prominent grille, narrow intakes, sculpted hood, flush door handles, 19-inch multi-spoke wheels, low-profile tires, tinted glass, chrome accents, red paint').images[0]# TODO: add an example code snippet for running this diffusion pipeline