wangyulong commited on
Commit
a0dbe7f
1 Parent(s): 64124dc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md CHANGED
@@ -1,3 +1,37 @@
1
  ---
2
  license: creativeml-openrail-m
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: creativeml-openrail-m
3
+ tags:
4
+ - stable-diffusion
5
+ - text-to-image
6
  ---
7
+ # Guohua Diffusion
8
+ This is the fine-tuned Stable Diffusion model trained on traditional Chinese paintings.
9
+
10
+ Use **guohua style** in your prompts for the effect.
11
+
12
+ ## Sample Image
13
+ #### Movie Poster
14
+ #### Architecture
15
+
16
+ ## How to use
17
+ #### WebUI
18
+ Download the `guohua.ckpt` in model files.
19
+ #### Diffusers
20
+
21
+ This model can be used just like any other Stable Diffusion model. For more information,
22
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
23
+
24
+ ```python
25
+ #!pip install diffusers transformers scipy torch
26
+ from diffusers import StableDiffusionPipeline
27
+ import torch
28
+
29
+ model_id = "Langboat/Guohua-Diffusion"
30
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
31
+ pipe = pipe.to("cuda")
32
+
33
+ prompt = "The Godfather poster in guohua style"
34
+ image = pipe(prompt).images[0]
35
+
36
+ image.save("./the_god_father.png")
37
+ ```