Update README.md a945ebc verified
Dylan Keay commited on
How to use B4100/photoshoot-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("fal/FLUX.2-dev-Turbo", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("B4100/photoshoot-v2")
prompt = "photosh00t, low-angle close-up of a slim light-skinned woman on bed with legs spread, blue and white panties pulled down to thighs, genitals visible, even natural light on white bed sheets."
image = pipe(prompt).images[0]