hyoungwoncho commited on
Commit
669a1d6
1 Parent(s): 1d142ed

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -2
README.md CHANGED
@@ -21,6 +21,7 @@ This repository is based on [Diffusers](https://huggingface.co/docs/diffusers/in
21
  ## Quickstart
22
 
23
  Loading ControlNet and Custom Piepline:
 
24
  ```
25
  from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
26
 
@@ -40,7 +41,8 @@ device="cuda"
40
  pipe = pipe.to(device)
41
  ```
42
 
43
- Prepare Conditional Images
 
44
  ```
45
  from controlnet_aux import OpenposeDetector
46
 
@@ -49,12 +51,15 @@ original_image = load_image(
49
  "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/person.png"
50
  )
51
  openpose_image = openpose(original_image)
 
 
52
  ```
53
 
54
  Conditional Generation with ControlNet and PAG:
 
55
  ```
56
  output = pipe(
57
- prompt="",
58
  image=openpose_image,
59
  num_inference_steps=50,
60
  guidance_scale=0.0,
 
21
  ## Quickstart
22
 
23
  Loading ControlNet and Custom Piepline:
24
+
25
  ```
26
  from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
27
 
 
41
  pipe = pipe.to(device)
42
  ```
43
 
44
+ Prepare Conditional Images:
45
+
46
  ```
47
  from controlnet_aux import OpenposeDetector
48
 
 
51
  "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/person.png"
52
  )
53
  openpose_image = openpose(original_image)
54
+
55
+ prompts=""
56
  ```
57
 
58
  Conditional Generation with ControlNet and PAG:
59
+
60
  ```
61
  output = pipe(
62
+ prompts,
63
  image=openpose_image,
64
  num_inference_steps=50,
65
  guidance_scale=0.0,