Update README.md
Browse files

README.md
CHANGED
|
@@ -3,25 +3,28 @@ license: creativeml-openrail-m
|
|
| 3 |
tags:
|
| 4 |
- stable-diffusion
|
| 5 |
- text-to-image
|
| 6 |
-
pipeline_tag: unconditional-image-generation
|
| 7 |
---
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
from diffusers import StableDiffusionPipeline
|
| 11 |
import torch
|
| 12 |
-
|
| 13 |
model_id = "michaelz/arcaneface-diffusion"
|
| 14 |
-
|
| 15 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 16 |
-
|
| 17 |
pipe = pipe.to("cuda")
|
| 18 |
-
|
| 19 |
prompt = "arcaneface, a beautiful girl"
|
| 20 |
-
|
| 21 |
image = pipe(prompt).images[0]
|
| 22 |
-
|
| 23 |
image.save("example.png")
|
|
|
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 3 |
tags:
|
| 4 |
- stable-diffusion
|
| 5 |
- text-to-image
|
|
|
|
| 6 |
---
|
| 7 |
+
# arcaneface Diffusion
|
| 8 |
+
This is the fine-tuned Stable Diffusion model trained by dreambooth with 30k steps, images dataset from Arcane4K.
|
| 9 |
+
Use the tokens **_arcaneface_** in your prompts for the effect.
|
| 10 |
+
### 🧨 Diffusers
|
| 11 |
|
| 12 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
| 13 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
| 14 |
+
|
| 15 |
+
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]().
|
| 16 |
+
|
| 17 |
+
```python
|
| 18 |
from diffusers import StableDiffusionPipeline
|
| 19 |
import torch
|
|
|
|
| 20 |
model_id = "michaelz/arcaneface-diffusion"
|
|
|
|
| 21 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
|
|
|
| 22 |
pipe = pipe.to("cuda")
|
|
|
|
| 23 |
prompt = "arcaneface, a beautiful girl"
|
|
|
|
| 24 |
image = pipe(prompt).images[0]
|
|
|
|
| 25 |
image.save("example.png")
|
| 26 |
+
```
|
| 27 |
|
| 28 |
+
### Sample images from the model:
|
| 29 |
+

|
| 30 |
+

|