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/jessica-alba-early-2000s-flux', weight_name='Jessica_Alba_Flux.safetensors')
8image = pipeline(' The image is a high-resolution photograph featuring a young woman standing in a cafe, looking at the viewer. The woman, with long, straight, dark brown hair, is dressed in a sleek, black leather jacket that is unzipped, revealing a black tank top underneath. Her outfit also includes form-fitting, black leather pants that feature intricate lace-up detailing on the sides, adding a touch of edgy fashion to her look. She stands with one hand on her hip, exuding a strong, assertive presence.').images[0]