Fixed use of ControlNet control_weight parameter

This commit is contained in:
user1
2023-05-09 00:30:45 -07:00
committed by Kent Keirsey
parent c0863fa20f
commit 714ad6dbb8
4 changed files with 14 additions and 11 deletions

View File

@ -41,7 +41,7 @@ print("testing Txt2Img.generate() with control_image arg")
outputs = txt2img_canny.generate(
prompt="old man",
control_image=canny_image,
control_scale=1.0,
control_weight=1.0,
seed=0,
num_steps=30,
precision="float16",