mirror of
https://github.com/vladmandic/automatic
synced 2026-09-08 13:58:43 +02:00
fix controlnet with hires
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -201,6 +201,7 @@ def process_hires(p: processing.StableDiffusionProcessing, output):
|
||||
update_sampler(p, shared.sd_model, second_pass=True)
|
||||
orig_denoise = p.denoising_strength
|
||||
p.denoising_strength = strength
|
||||
p.task_args.pop('image', None) # remove image override from hires
|
||||
hires_args = set_pipeline_args(
|
||||
p=p,
|
||||
model=shared.sd_model,
|
||||
|
||||
Reference in New Issue
Block a user