xy1993 commited on
Commit
812ec06
·
verified ·
1 Parent(s): a0d4463

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -13,14 +13,14 @@ pipeline_tag: text-to-image
13
 
14
  **TensorArt Stable Diffusion 3.5 Medium ControlNet Depth**
15
 
16
- <img src="./assets/showcase.png"/>
17
  </div>
18
 
19
  # With SD3.5M
20
  ```python
21
  import torch
22
  from diffusers import StableDiffusion3ControlNetPipeline
23
- from diffusers.models import SD3ControlNetModel
24
  from diffusers.utils import load_image
25
 
26
  controlnet = SD3ControlNetModel.from_pretrained("tensorart/SD3.5M-Controlnet-Depth")
@@ -30,7 +30,7 @@ pipe = StableDiffusion3ControlNetPipeline.from_pretrained(
30
  )
31
  pipe.to("cuda", torch.float16)
32
 
33
- control_image = load_image("https://huggingface.co/tensorart/SD3.5M-Controlnet-Depth/resolve/main/images/depth.png")
34
  prompt = "A cyberpunk man"
35
  negative_prompt = "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly, monochrome"
36
 
@@ -49,7 +49,7 @@ image.save('image.jpg')
49
  ```python
50
  import torch
51
  from diffusers import StableDiffusion3ControlNetPipeline
52
- from diffusers.models import SD3ControlNetModel
53
  from diffusers.utils import load_image
54
 
55
  controlnet = SD3ControlNetModel.from_pretrained("tensorart/SD3.5M-Controlnet-Depth")
@@ -59,7 +59,7 @@ pipe = StableDiffusion3ControlNetPipeline.from_pretrained(
59
  )
60
  pipe.to("cuda", torch.float16)
61
 
62
- control_image = load_image("https://huggingface.co/tensorart/SD3.5M-Controlnet-Depth/resolve/main/images/depth.png")
63
  prompt = "A cyberpunk man"
64
  negative_prompt = "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly, monochrome"
65
 
 
13
 
14
  **TensorArt Stable Diffusion 3.5 Medium ControlNet Depth**
15
 
16
+ <img src="./asset/demo.png"/>
17
  </div>
18
 
19
  # With SD3.5M
20
  ```python
21
  import torch
22
  from diffusers import StableDiffusion3ControlNetPipeline
23
+ from diffusers import SD3ControlNetModel
24
  from diffusers.utils import load_image
25
 
26
  controlnet = SD3ControlNetModel.from_pretrained("tensorart/SD3.5M-Controlnet-Depth")
 
30
  )
31
  pipe.to("cuda", torch.float16)
32
 
33
+ control_image = load_image("https://huggingface.co/tensorart/SD3.5M-Controlnet-Depth/resolve/main/asset/depth.png")
34
  prompt = "A cyberpunk man"
35
  negative_prompt = "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly, monochrome"
36
 
 
49
  ```python
50
  import torch
51
  from diffusers import StableDiffusion3ControlNetPipeline
52
+ from diffusers import SD3ControlNetModel
53
  from diffusers.utils import load_image
54
 
55
  controlnet = SD3ControlNetModel.from_pretrained("tensorart/SD3.5M-Controlnet-Depth")
 
59
  )
60
  pipe.to("cuda", torch.float16)
61
 
62
+ control_image = load_image("https://huggingface.co/tensorart/SD3.5M-Controlnet-Depth/resolve/main/asset/depth.png")
63
  prompt = "A cyberpunk man"
64
  negative_prompt = "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly, monochrome"
65