Views
No views yet
sks_thea 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('Heouzen/LoKr_FLUX1D_sks_thea_r64', weight_name='LoKr_FLUX1D_sks_thea_r64.safetensors')
6image = pipeline('sks_thea, The image shows a person with long, dark hair, wearing a maroon sweater. The person is resting their head on their hand, with their eyes looking directly at the camera. The background includes a white wall with a small air conditioning unit mounted above it. There is also a wooden door visible to the left, and a small plant with red flowers on a shelf or table in the upper right corner. The lighting suggests it is daytime, with natural light illuminating the scene.').images[0]
7image.save("my_image.png")