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-cropped-masked-cosine-rank16-default-100warmup-batch2', weight_name='pytorch_lora_weights.safetensors')
6
7image = pipeline('p3rs0nl0ra woman in a sparkling pink dress with thin straps, fluffy white angel wings, glowing halo above her head, neon pink lighting, playful and festive atmosphere, arcade-like background with decorative pink elements, colorful nightlife setting').images[0]# TODO: add an example code snippet for running this diffusion pipeline