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/olivia-hussey-1970s-flux-lora', weight_name='Olivia_Hussey.safetensors')
8image = pipeline('"A clean, minimalist portrait of oliviahflx, a confident woman with striking blue eyes and a calm expression. She is wearing a light-colored sweater and gold hoop earrings that add a subtle touch of elegance. The soft, diffused lighting highlights her flawless skin and natural beauty, while the neutral background emphasizes her serene and sophisticated demeanor. "').images[0]