Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mberke11
/
face_replace

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use mberke11/face_replace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mberke11/face_replace with Diffusers:

    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]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
face_replace / images
87.9 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
mberke11's picture
mberke11
Add 2 files
c568b87 verified 9 months ago
  • scene-output-1754988392857 (2).jpg
    87.9 kB
    xet
    Add 2 files 9 months ago