Views
No views yet

krnwiro to trigger the image generation.1from diffusers import FluxPipeline
2import torch
3
4pipeline = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('WiroAI/Karina-Flux-LoRA', weight_name='karina_flux_lora.safetensors')
6image = pipeline('krnwiro, A young woman with wavy black hair, wearing a red dress, sitting at a café table with a cup of coffee, looking thoughtful.').images[0]
7image.save("output.png")