Instructions to use OAOA/DifFace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OAOA/DifFace with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OAOA/DifFace", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download assets/Hepburn.png from OAOA/DifFace: direct link, hf CLI and curl.
- Browser
- Download file 1.57 MB
-
https://huggingface.co/OAOA/DifFace/resolve/main/assets/Hepburn.png
- Command line
-
hf download hf://OAOA/DifFace/assets/Hepburn.png
-
curl -L -o Hepburn.png https://huggingface.co/OAOA/DifFace/resolve/main/assets/Hepburn.png
1.57 MB

- Xet hash:
- aa961a2d94b0f17cd0d62b85196a8eba0f86806977447d315e57aea8ab5ef867
- Size of remote file:
- 1.57 MB
- SHA256:
- f4865e2463dc3d8bd0256cd6cf3e945ef0528db76474f2ebff4fc8a05d3d8eca
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.