Instructions to use Fantasy-Studio/Paint-by-Example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Fantasy-Studio/Paint-by-Example with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Fantasy-Studio/Paint-by-Example", 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
-
Update README.md
351e642
-
Merge branch 'main' of https://huggingface.co/Fantasy-Studio/Paint-by-Example into main
9a4eb6f -
add diffusers weights
f199dc0 -
Update README.md
c2efa9f -
Update README.md
aee33aa -
Create README.md
418d8b5
-
Upload model.ckpt
37bfdc5 -
Delete model.ckpt
444f558 -
Upload model.ckpt
032242a -
Delete model.ckpt
1a6d531
-
Upload model.ckpt
8065449 -
Delete epoch=000020.ckpt
0c42020 -
Upload epoch=000020.ckpt
cfdaeae -
initial commit
b81f114