Update README.md
Browse files
README.md
CHANGED
@@ -4,4 +4,32 @@ language:
|
|
4 |
- en
|
5 |
pipeline_tag: text-to-image
|
6 |
---
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
- en
|
5 |
pipeline_tag: text-to-image
|
6 |
---
|
7 |
+
# Everything V1
|
8 |
+
Like other anime-style Stable Diffusion models, it also supports danbooru tags to generate images.
|
9 |
+
|
10 |
+
e.g. **_1girl, white hair, golden eyes, beautiful eyes, detail, flower meadow, cumulonimbus clouds, lighting, detailed sky, garden_**
|
11 |
+
|
12 |
+
## 🤗 Diffusers
|
13 |
+
|
14 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
15 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
16 |
+
|
17 |
+
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
18 |
+
|
19 |
+
```python
|
20 |
+
from diffusers import StableDiffusionPipeline
|
21 |
+
import torch
|
22 |
+
|
23 |
+
model_id = "TheRafal/everything-v1"
|
24 |
+
branch_name= "main"
|
25 |
+
|
26 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
|
27 |
+
pipe = pipe.to("cuda")
|
28 |
+
|
29 |
+
prompt = "1girl, monika \(doki doki literature club\)"
|
30 |
+
image = pipe(prompt).images[0]
|
31 |
+
|
32 |
+
image.save("./monika.png")
|
33 |
+
```
|
34 |
+
|
35 |
+
(TODO)
|