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
Commit History
-
add restorated examples
Zongsheng135f554 -
add model card
Zongsheng6905f98 -
add model card
Zongsheng293038b
-
diffuser0.12->0.13
Zongsheng0753791 -
Improved ddpm scheduler
Zongsheng4827aa3 -
DDPMPipeline->DifFacePipeline
Zongshengf6fa831
-
diffsuion steps: 1000->250
Zongshengd1e53fd -
diffsuion steps: 1000->250
Zongsheng10e7a87 -
upload diffusion model
Zongsheng4f580fd -
upload license
Zongshengcd07eaa -
change license
Zongsheng47a5ed2 -
initial commit
d5733b3