How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("mberke11/face_replace")

prompt = "w"
image = pipe(prompt).images[0]

face_replace

Prompt
w
Negative Prompt
w

Trigger words

You should use w to trigger the image generation.

Download model

Download them in the Files & versions tab.

Downloads last month
10
Inference Providers NEW
Examples

Model tree for mberke11/face_replace

Adapter
(36844)
this model