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,19 +6,15 @@ tags:
|
|
| 6 |
---
|
| 7 |
# SD-XL 1.0-refiner Model Card
|
| 8 |
|
| 9 |
-
> **Note:** This repository is a **mirror** and **not
|
| 10 |
-
> The original model, weights, and documentation are developed and maintained by **Stability AI**.
|
| 11 |
>
|
| 12 |
-
> The model weights
|
| 13 |
-
> Only minor editorial changes to this README (e.g. formatting or clarification) have been made and do **not** affect the model, its behavior, or its licensing.
|
| 14 |
>
|
| 15 |
-
> The model
|
| 16 |
-
> A full copy of the license is included in this repository and applies to all distributions of the model and its derivatives.
|
| 17 |
>
|
| 18 |
-
>
|
| 19 |
>
|
| 20 |
-
> This repository is **not affiliated with or endorsed by Stability AI**.
|
| 21 |
-
> The maintainer is willing to cooperate in good faith with the original rights holder regarding reasonable requests.
|
| 22 |
|
| 23 |
## Model
|
| 24 |
|
|
|
|
| 6 |
---
|
| 7 |
# SD-XL 1.0-refiner Model Card
|
| 8 |
|
| 9 |
+
> **Note:** This repository is a **mirror** and is **not the [original upstream source**](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0) from Stability AI.
|
|
|
|
| 10 |
>
|
| 11 |
+
> The original model, weights, and documentation are developed and maintained by Stability AI.
|
|
|
|
| 12 |
>
|
| 13 |
+
> The model weights hosted here are **unmodified** and redistributed **as-is**.
|
|
|
|
| 14 |
>
|
| 15 |
+
> This model is released under the **CreativeML Open RAIL++-M License**. Users are responsible for complying with all applicable license terms and use-based restrictions.
|
| 16 |
>
|
| 17 |
+
> This repository is **not affiliated with, sponsored by, or endorsed by Stability AI**.
|
|
|
|
| 18 |
|
| 19 |
## Model
|
| 20 |
|