Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ from diffusers import HunyuanDiT2DControlNetModel, HunyuanDiTControlNetPipeline
|
|
9 |
import torch
|
10 |
|
11 |
|
12 |
-
controlnet = HunyuanDiT2DControlNetModel.from_pretrained("Tencent-Hunyuan/HunyuanDiT-v1.2-ControlNet-Diffusers-
|
13 |
|
14 |
pipe = HunyuanDiTControlNetPipeline.from_pretrained("Tencent-Hunyuan/HunyuanDiT-v1.2-Diffusers-Distilled", controlnet=controlnet, torch_dtype=torch.float16)
|
15 |
pipe.to("cuda")
|
|
|
9 |
import torch
|
10 |
|
11 |
|
12 |
+
controlnet = HunyuanDiT2DControlNetModel.from_pretrained("Tencent-Hunyuan/HunyuanDiT-v1.2-ControlNet-Diffusers-Pose", torch_dtype=torch.float16)
|
13 |
|
14 |
pipe = HunyuanDiTControlNetPipeline.from_pretrained("Tencent-Hunyuan/HunyuanDiT-v1.2-Diffusers-Distilled", controlnet=controlnet, torch_dtype=torch.float16)
|
15 |
pipe.to("cuda")
|