BoHu370 commited on
Commit
4e4c471
·
verified ·
1 Parent(s): 817da68

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -17
README.md CHANGED
@@ -17,20 +17,12 @@ pipeline_tag: text-to-image
17
  library_name: diffusers
18
  ---
19
 
20
- # DreamBooth model for the Land Grandfather concept trained by BoHu370 on the BoHu370/Land_grandfather dataset.
21
 
22
  This is a Stable Diffusion model fine-tuned on the Lang Grandfather(lgd) concept with DreamBooth.
 
23
 
24
- It can be used by modifying the `instance_prompt`: **a photo of lgd old man**
25
-
26
- 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!
27
-
28
- ## Description
29
-
30
-
31
- This is a Stable Diffusion model fine-tuned on `old man` images.
32
-
33
- The images is from the game ** Black Myth WUKONG **.
34
 
35
 
36
  ## Usage
@@ -40,15 +32,14 @@ from diffusers import StableDiffusionPipeline
40
 
41
  pipe = StableDiffusionPipeline.from_pretrained('BoHu370/lgd-old-man').to('cuda')
42
 
 
 
43
  prompt = f"a photo of {name_of_your_concept} {type_of_thing} playing computer game"
44
  guidance_scale = 5
45
- num_cols = 2
46
- all_images = []
47
- for _ in range(num_cols):
48
- images = pipe(prompt, guidance_scale=guidance_scale).images
49
- all_images.extend(images)
50
 
51
- image_grid(all_images, 1, num_cols)
 
 
52
  ```
53
 
54
  ## Examples
 
17
  library_name: diffusers
18
  ---
19
 
20
+ # DreamBooth model for the Land Grandfather concept
21
 
22
  This is a Stable Diffusion model fine-tuned on the Lang Grandfather(lgd) concept with DreamBooth.
23
+ The dataset is from the game ** Black Myth WUKONG **.
24
 
25
+ It can be used by modifying the `instance_prompt`: **a photo of lgd old man**, the trigger word is `lgd`
 
 
 
 
 
 
 
 
 
26
 
27
 
28
  ## Usage
 
32
 
33
  pipe = StableDiffusionPipeline.from_pretrained('BoHu370/lgd-old-man').to('cuda')
34
 
35
+ name_of_your_concept = 'lgd'
36
+ type_of_thing = 'old man'
37
  prompt = f"a photo of {name_of_your_concept} {type_of_thing} playing computer game"
38
  guidance_scale = 5
 
 
 
 
 
39
 
40
+ image = pipe(prompt, guidance_scale=guidance_scale).images[0]
41
+ image
42
+
43
  ```
44
 
45
  ## Examples