Commit
•
cc6e139
1
Parent(s):
90b043f
License, tags and diffusers updates
Browse files
README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
3 |
---
|
4 |
# SD-XL 1.0-refiner Model Card
|
5 |
![row01](01.png)
|
@@ -60,7 +63,7 @@ You can use the model then as follows
|
|
60 |
from diffusers import DiffusionPipeline
|
61 |
import torch
|
62 |
|
63 |
-
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-0
|
64 |
pipe.to("cuda")
|
65 |
|
66 |
# if using torch < 2.0
|
@@ -114,4 +117,4 @@ The model was not trained to be factual or true representations of people or eve
|
|
114 |
- The autoencoding part of the model is lossy.
|
115 |
|
116 |
### Bias
|
117 |
-
While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.
|
|
|
1 |
---
|
2 |
+
license: openrail++
|
3 |
+
tags:
|
4 |
+
- stable-diffusion
|
5 |
+
- text-to-image
|
6 |
---
|
7 |
# SD-XL 1.0-refiner Model Card
|
8 |
![row01](01.png)
|
|
|
63 |
from diffusers import DiffusionPipeline
|
64 |
import torch
|
65 |
|
66 |
+
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1-0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
67 |
pipe.to("cuda")
|
68 |
|
69 |
# if using torch < 2.0
|
|
|
117 |
- The autoencoding part of the model is lossy.
|
118 |
|
119 |
### Bias
|
120 |
+
While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.
|