avuhong commited on
Commit
a7dd9aa
1 Parent(s): bb11935

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -0
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - pytorch
5
+ - diffusers
6
+ - stable-diffusion
7
+ - text-to-image
8
+ - diffusion-models-class
9
+ - dreambooth-hackathon
10
+ - animal
11
+ widget:
12
+ - text: a painting in $M## style of a fishing village under a cherry blossom forest at sunset
13
+ ---
14
+
15
+ # DreamBooth model for the painting of Hokusai style
16
+
17
+ This is a Stable Diffusion model fine-tuned Hokusai's painting style taught to Stable Diffusion with DreamBooth.
18
+ It can be used by modifying the `instance_prompt`: **a painting in $M## style of**
19
+
20
+ This model was created as part of the DreamBooth Hackathon 🔥. Visit the [organisation page](https://huggingface.co/dreambooth-hackathon) for instructions on how to take part!
21
+
22
+ ## Description
23
+
24
+ This is a Stable Diffusion model fine-tuned on Hokusai's paintings.
25
+
26
+ ## Usage
27
+
28
+ ```python
29
+ from diffusers import StableDiffusionPipeline
30
+ pipeline = StableDiffusionPipeline.from_pretrained('avuhong/DB_Hokusai_style')
31
+
32
+ prompt = "a painting in $M## style of a fishing village under a cherry blossom forest at sunset"
33
+ image = pipe(prompt,
34
+ num_inference_steps=200,
35
+ guidance_scale=5,
36
+ height=512, width=1024,
37
+ ).images[0]
38
+ image
39
+ ```