Views
No views yet
1import torch
2from diffusers import DiffusionPipeline
3
4pipe = DiffusionPipeline.from_pretrained(
5 "black-forest-labs/FLUX.1-dev",
6 torch_dtype=torch.float16
7)
8
9pipe.load_lora_weights("gajtan/flux-lora-linkedin-1755208096")
10
11prompt = "A professional headshot photo of TOK, business attire, corporate background"
12image = pipe(prompt).images[0]