Views
No views yet
hanbok 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('seawolf2357/hanbok', weight_name='hanbok.safetensors')
6image = pipeline('a woman wearing a traditional Korean Hanbok, a long-sleeved blouse with intricate embroidery and a high-waisted skirt. The blouse is a deep blue color with a white collar and cuffs, and the skirt is a lighter shade of blue with a pattern of small white flowers. The woman is standing in a graceful pose, her hands clasped in front of her and her head tilted slightly to the side. [trigger]').images[0]
7image.save("my_image.png")