Views
No views yet
bbehalmo to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('paukraft/pau-lora', weight_name='pau-lora.safetensors')
6image = pipeline('[trigger] in his early twenties with light skin and short, slightly messy brown hair. [trigger] is smiling subtly, looking directly at the camera. [trigger] is wearing a dark blue textured knit sweater over a white crew-neck shirt. The background is a soft, neutral beige with even lighting and no shadows, creating a calm and professional studio-like setting. The overall mood is friendly and casual.').images[0]
7image.save("my_image.png")