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

  • Log In
  • Sign Up

nofunstudio
/
facereplace

Text-to-Image
Diffusers
flux
lora
fal
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use nofunstudio/facereplace with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("undefined", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("nofunstudio/facereplace")
    
    prompt = "FaceSwap, replace the face."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
facereplace
307 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
nofunstudio's picture
nofunstudio
Add facereplace.safetensors
6e20263 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    628 Bytes
    initial commit 10 months ago
  • facereplace.safetensors
    307 MB
    xet
    Add facereplace.safetensors 10 months ago