Update README.md
Browse files
README.md
CHANGED
|
@@ -1,2 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Diffuser model for this SD checkpoint:
|
| 2 |
-
https://civitai.com/models/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: creativeml-openrail-m
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
inference: true
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
Diffuser model for this SD checkpoint:
|
| 14 |
+
https://civitai.com/models/22402/fantasticmix
|
| 15 |
+
|
| 16 |
+
**fantasticmix** is the HuggingFace diffuser that you can use with **diffusers.StableDiffusionPipeline()**.
|
| 17 |
+
|
| 18 |
+
Examples | Examples | Examples
|
| 19 |
+
---- | ---- | ----
|
| 20 |
+
 |  | 
|
| 21 |
+
 |  | 
|
| 22 |
+
-------
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
## 🧨 Diffusers
|
| 26 |
+
|
| 27 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
| 28 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from diffusers import StableDiffusionPipeline
|
| 33 |
+
import torch
|
| 34 |
+
|
| 35 |
+
model_id = "emilianJR/fantasticmix"
|
| 36 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 37 |
+
pipe = pipe.to("cuda")
|
| 38 |
+
|
| 39 |
+
prompt = "YOUR PROMPT"
|
| 40 |
+
image = pipe(prompt).images[0]
|
| 41 |
+
|
| 42 |
+
image.save("image.png")
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
## License
|
| 46 |
+
|
| 47 |
+
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
| 48 |
+
The CreativeML OpenRAIL License specifies:
|
| 49 |
+
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|