Instructions to use torpedo2003/SAD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use torpedo2003/SAD with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("torpedo2003/SAD", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit ·
e51dc43
1
Parent(s): 3bae55e
Add pipeline tag and library name (#1)
Browse files- Add pipeline tag and library name (81c99e3b297d007dee94ca61450adab73dba3500)
Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- image-generation
|
| 5 |
- diffusion
|
|
@@ -75,4 +77,4 @@ To train a decoder for your own generator, see the [training guide](https://gith
|
|
| 75 |
journal = {arXiv preprint arXiv:2611.22458},
|
| 76 |
year = {2026}
|
| 77 |
}
|
| 78 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
pipeline_tag: image-to-image
|
| 5 |
tags:
|
| 6 |
- image-generation
|
| 7 |
- diffusion
|
|
|
|
| 77 |
journal = {arXiv preprint arXiv:2611.22458},
|
| 78 |
year = {2026}
|
| 79 |
}
|
| 80 |
+
```
|