Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ pipeline_tag: text-to-image
|
|
11 |
|
12 |
<div align="center">
|
13 |
|
14 |
-
**
|
15 |
|
16 |
<img src="show.jpg"/>
|
17 |
</div>
|
@@ -42,14 +42,14 @@ from diffusers import StableDiffusion3ControlNetPipeline
|
|
42 |
from diffusers import SD3ControlNetModel
|
43 |
from diffusers.utils import load_image
|
44 |
|
45 |
-
controlnet = SD3ControlNetModel.from_pretrained("tensorart/
|
46 |
pipe = StableDiffusion3ControlNetPipeline.from_pretrained(
|
47 |
"tensorart/bokeh_3.5_medium",
|
48 |
controlnet=controlnet
|
49 |
)
|
50 |
pipe.to("cuda", torch.float16)
|
51 |
|
52 |
-
control_image = load_image("https://huggingface.co/tensorart/
|
53 |
prompt = "A old man talking"
|
54 |
negative_prompt ="anime,render,cartoon,3d,bad hands,extra finger"
|
55 |
negative_prompt_3=""
|
|
|
11 |
|
12 |
<div align="center">
|
13 |
|
14 |
+
**Bokeh_Depth_Controlnet**
|
15 |
|
16 |
<img src="show.jpg"/>
|
17 |
</div>
|
|
|
42 |
from diffusers import SD3ControlNetModel
|
43 |
from diffusers.utils import load_image
|
44 |
|
45 |
+
controlnet = SD3ControlNetModel.from_pretrained("tensorart/Bokeh_Depth_Controlnet")
|
46 |
pipe = StableDiffusion3ControlNetPipeline.from_pretrained(
|
47 |
"tensorart/bokeh_3.5_medium",
|
48 |
controlnet=controlnet
|
49 |
)
|
50 |
pipe.to("cuda", torch.float16)
|
51 |
|
52 |
+
control_image = load_image("https://huggingface.co/tensorart/Bokeh_Depth_Controlnet/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=""
|