Instructions to use YuCollection/sdxl-1.0-refiner-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YuCollection/sdxl-1.0-refiner-diffusers 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("YuCollection/sdxl-1.0-refiner-diffusers", 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
|
@@ -6,7 +6,7 @@ tags:
|
|
| 6 |
---
|
| 7 |
# SD-XL 1.0-refiner Model Card
|
| 8 |
|
| 9 |
-
> **Note:** This repository is a **mirror** and **not** the original upstream source.
|
| 10 |
> The original model, weights, and documentation are developed and maintained by **Stability AI**.
|
| 11 |
>
|
| 12 |
> The model weights hosted here are **unmodified** and redistributed **as-is**.
|
|
|
|
| 6 |
---
|
| 7 |
# SD-XL 1.0-refiner Model Card
|
| 8 |
|
| 9 |
+
> **Note:** This repository is a **mirror** and **not** the [original upstream source](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0).
|
| 10 |
> The original model, weights, and documentation are developed and maintained by **Stability AI**.
|
| 11 |
>
|
| 12 |
> The model weights hosted here are **unmodified** and redistributed **as-is**.
|