salmonhumorous
commited on
Commit
•
dc783a2
1
Parent(s):
0ba8376
Upload the concept Ukeiyo-style embeds and token
Browse files- README.md +29 -0
- token_identifier.txt +1 -0
README.md
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
---
|
3 |
+
license: creativeml-openrail-m
|
4 |
+
tags:
|
5 |
+
- stable-diffusion
|
6 |
+
- text-to-image
|
7 |
+
---
|
8 |
+
# Ukeiyo-style Diffusion
|
9 |
+
This is the fine-tuned Stable Diffusion model trained on traditional japanese Ukeiyo-style images
|
10 |
+
Use the tokens **_ukeiyoddim style_** in your prompts for the effect.
|
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 |
+
#!pip install diffusers transformers scipy torch
|
21 |
+
from diffusers import StableDiffusionPipeline
|
22 |
+
import torch
|
23 |
+
model_id = "salmonhumorous/ukeiyo-style-diffusion"
|
24 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
25 |
+
pipe = pipe.to("cuda")
|
26 |
+
prompt = "illustration of ukeiyoddim style landscape"
|
27 |
+
image = pipe(prompt).images[0]
|
28 |
+
image.save("./ukeiyo_landscape.png")
|
29 |
+
```
|
token_identifier.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
illustration of ukeiyoddim style dog
|