Skip to content

Commit

Permalink
Update controlnet_demo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hutaiHang authored Dec 21, 2023
1 parent 8307ec9 commit d3b6800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controlnet_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
image_condition = Image.fromarray(image)

controlnet = ControlNetModel.from_pretrained(
"/home/u2120230624/share/ControlNet/canny", torch_dtype=torch.float16
"lllyasviel/sd-controlnet-canny", torch_dtype=torch.float16
).to('cuda')

pipe = StableDiffusionControlNetPipeline.from_pretrained(
Expand Down

0 comments on commit d3b6800

Please sign in to comment.