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 Settings
- Draw Things
- DiffusionBee
Download facereplace.safetensors from nofunstudio/facereplace: direct link, hf CLI and curl.
- Browser
- Download file 307 MB
-
https://huggingface.co/nofunstudio/facereplace/resolve/main/facereplace.safetensors
- Command line
-
hf download hf://nofunstudio/facereplace/facereplace.safetensors
-
curl -L -o facereplace.safetensors https://huggingface.co/nofunstudio/facereplace/resolve/main/facereplace.safetensors
307 MB
- Xet hash:
- f35ee3b011a7e3694379da00624990e1ddd73489f663cc8b1476bef846dd4063
- Size of remote file:
- 307 MB
- SHA256:
- 9d4daecc447138ddde5f4c8f31981d3aa3d30157a51b71a21fc442115023ddb9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.