Instructions to use ilopes/matswap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ilopes/matswap 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("ilopes/matswap", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
license: mit
|
| 3 |
base_model:
|
| 4 |
- stable-diffusion-v1-5/stable-diffusion-v1-5
|
| 5 |
-
pipeline_tag: image-to-
|
| 6 |
library_name: diffusers
|
| 7 |
---
|
| 8 |
|
|
@@ -11,4 +11,4 @@ For a guide on how to use this model, check out the [official repository](https:
|
|
| 11 |
The HuggingFace paper page can be found [here](https://huggingface.co/papers/2502.07784)
|
| 12 |
<p align="center" >
|
| 13 |
<img src="https://github.com/user-attachments/assets/85ca9075-058f-42e7-9ce9-78ff7c2e7767" alt="Teaser image" width="70%">
|
| 14 |
-
</p>
|
|
|
|
| 2 |
license: mit
|
| 3 |
base_model:
|
| 4 |
- stable-diffusion-v1-5/stable-diffusion-v1-5
|
| 5 |
+
pipeline_tag: image-to-image
|
| 6 |
library_name: diffusers
|
| 7 |
---
|
| 8 |
|
|
|
|
| 11 |
The HuggingFace paper page can be found [here](https://huggingface.co/papers/2502.07784)
|
| 12 |
<p align="center" >
|
| 13 |
<img src="https://github.com/user-attachments/assets/85ca9075-058f-42e7-9ce9-78ff7c2e7767" alt="Teaser image" width="70%">
|
| 14 |
+
</p>
|