CHAITron commited on
Commit
b289bec
1 Parent(s): 9d63c45

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -4
README.md CHANGED
@@ -1,9 +1,46 @@
1
- ---
2
  license: creativeml-openrail-m
3
  tags:
4
  - text-to-image
5
  ---
6
- ### KranokThaiV1 on Stable Diffusion via Dreambooth.
7
  #### model by CHAITron
8
- This your the Stable Diffusion model fine-tuned the KranokThaiV1 concept taught to Stable Diffusion with Dreambooth..
9
- It can be used by modifying the `instance_prompt`: <knt-style> style
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  license: creativeml-openrail-m
2
  tags:
3
  - text-to-image
4
  ---
5
+ ### KranokThaiV1 :th:
6
  #### model by CHAITron
7
+ This your the Stable Diffusion model fine-tuned the KranokThaiV1 concept taught to Stable Diffusion with Dreambooth.
8
+ It can be used by modifying the `instance_prompt`: '\<knt-style> style'
9
+
10
+ #### Example Results
11
+ ![example1](./example1.png)
12
+ **Prompt used**: "a colourful masterpiece thai cat in \<knt-style> style, high-quality, professional art, realistic, thai style"
13
+
14
+ ![example1](./example2.png)
15
+ **Prompt used**: "a colourful masterpiece thai dog in \<knt-style> style, high-quality, professional art, realistic, thai style"
16
+
17
+ ### 🧨 Diffusers
18
+
19
+ This model can be used just like any other Stable Diffusion model. For more information,
20
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
21
+
22
+ 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]().
23
+
24
+ ```python
25
+ from diffusers import StableDiffusionPipeline
26
+ import torch
27
+
28
+ model_id = "CHAITron/KranokThaiV1"
29
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
30
+ pipe = pipe.to("cuda")
31
+
32
+ prompt = "a colourful masterpiece thai dog in <knt-style> style, high-quality, professional art, realistic, thai style"
33
+ image = pipe(prompt).images[0]
34
+
35
+ image.save("./result.png")
36
+ ```
37
+
38
+ ## License
39
+
40
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
41
+ The CreativeML OpenRAIL License specifies:
42
+
43
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
44
+ 2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
45
+ 3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
46
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)