Update README.md
Browse files
README.md
CHANGED
|
@@ -51,18 +51,19 @@ pipe.to("cuda", torch.float16)
|
|
| 51 |
|
| 52 |
control_image = load_image("https://huggingface.co/tensorart/Bokeh_Depth_Control/resolve/main/images/001_depth.png")
|
| 53 |
prompt = "A old man talking"
|
| 54 |
-
negative_prompt ="anime,render,cartoon,3d"
|
| 55 |
negative_prompt_3=""
|
| 56 |
|
| 57 |
image = pipe(
|
| 58 |
prompt,
|
| 59 |
-
num_inference_steps=
|
| 60 |
negative_prompt=negative_prompt,
|
|
|
|
| 61 |
control_image=control_image,
|
| 62 |
height=1440,
|
| 63 |
width=1440,
|
| 64 |
guidance_scale=4,
|
| 65 |
-
controlnet_conditioning_scale=0.
|
| 66 |
).images[0]
|
| 67 |
image.save('image.jpg')
|
| 68 |
```
|
|
|
|
| 51 |
|
| 52 |
control_image = load_image("https://huggingface.co/tensorart/Bokeh_Depth_Control/resolve/main/images/001_depth.png")
|
| 53 |
prompt = "A old man talking"
|
| 54 |
+
negative_prompt ="anime,render,cartoon,3d,bad hands,extra finger"
|
| 55 |
negative_prompt_3=""
|
| 56 |
|
| 57 |
image = pipe(
|
| 58 |
prompt,
|
| 59 |
+
num_inference_steps=28,
|
| 60 |
negative_prompt=negative_prompt,
|
| 61 |
+
negative_prompt_3=negative_prompt_3,
|
| 62 |
control_image=control_image,
|
| 63 |
height=1440,
|
| 64 |
width=1440,
|
| 65 |
guidance_scale=4,
|
| 66 |
+
controlnet_conditioning_scale=0.85
|
| 67 |
).images[0]
|
| 68 |
image.save('image.jpg')
|
| 69 |
```
|