Views
No views yet
amayahart1import torch
2from diffusers import FluxPipeline
3
4pipe = FluxPipeline.from_pretrained(
5 "black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16
6).to("cuda")
7pipe.load_lora_weights("pkats94/amaya-hart-lora", weight_name="amaya-hart.safetensors")
8
9image = pipe(
10 "a photo of amayahart woman, candid iPhone selfie, soft window light",
11 num_inference_steps=28, guidance_scale=3.5,
12).images[0]
13image.save("amaya.png")amayahart near the start of the prompt. Recommended LoRA scale 0.8–1.0.