Views
No views yet
1from diffusers import AutoPipelineForText2Image
2import torch
3
4device = "cuda" if torch.cuda.is_available() else "cpu"
5
6pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
7pipeline.load_lora_weights('Keltezaa/hanni-makina-flux', weight_name='makinaflux_hanni_v1.0.safetensors')
8image = pipeline('a petite young asian woman posing in a stylish and coordinated outfit. She is wearing a white sleeveless crop top paired with a matching white mini skirt, creating a chic and fashionable look. The top features a black and white tie with "Chanel" branding, adding a luxurious touch to the ensemble. Her long hair is styled in two high pigtails, decorated with accessories, giving her a youthful and trendy appearance. The background is minimalistic, with gray walls, keeping the focus on her outfit and pose. Her expression is neutral and poised, suggesting a confident and composed attitude.. ,, . , looking at camera').images[0]