Image-to-Image
Diffusers
Safetensors
art
T2IAdapter
stable-diffusion-xl-diffusers
stable-diffusion-xl
Instructions to use mbrhan/sk-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mbrhan/sk-adapter 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("mbrhan/sk-adapter", 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
|
@@ -3,7 +3,7 @@ license: apache-2.0
|
|
| 3 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 4 |
tags:
|
| 5 |
- art
|
| 6 |
-
-
|
| 7 |
- image-to-image
|
| 8 |
- stable-diffusion-xl-diffusers
|
| 9 |
- stable-diffusion-xl
|
|
|
|
| 3 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 4 |
tags:
|
| 5 |
- art
|
| 6 |
+
- T2IAdapter
|
| 7 |
- image-to-image
|
| 8 |
- stable-diffusion-xl-diffusers
|
| 9 |
- stable-diffusion-xl
|