Views
No views yet
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('unknownmixorgacc/alisa-masked-cropped-cosine-rank16', weight_name='pytorch_lora_weights.safetensors')
6
7image = pipeline('p3rs0nl0ra Ultra-realistic 8K portrait of a stylish woman sitting on a cozy blanket outdoors in a serene winter setting. She wears a warm beige and brown shearling jacket layered over a soft scarf, paired with white trousers and casual sneakers. Her dark, wavy hair cascades over her shoulders as she gazes warmly at the camera, her hand resting gently on her cheek. Behind her, a picturesque snow-covered landscape with a bridge and bare trees adds depth and tranquility to the scene. The soft, natural lighting enhances her relaxed and effortlessly chic appearance, creating a calm and inviting winter atmosphere. 8K, cinematic winter photography').images[0]# TODO: add an example code snippet for running this diffusion pipeline