mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-16 08:12:12 +03:00
hr conditioning
This commit is contained in:
parent
125d5c8d96
commit
34f6d66742
@ -635,7 +635,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
||||
with devices.autocast():
|
||||
if type(p) == StableDiffusionProcessingTxt2Img:
|
||||
if p.enable_hr:
|
||||
if p.hr_prompts != '':
|
||||
if p.hr_prompt != '':
|
||||
samples_ddim = p.sample(conditioning=c, unconditional_conditioning=uc, hr_conditioning=hr_c, hr_unconditional_conditioning=hr_uc, seeds=seeds, subseeds=subseeds, subseed_strength=p.subseed_strength, prompts=prompts)
|
||||
else:
|
||||
samples_ddim = p.sample(conditioning=c, unconditional_conditioning=uc, hr_conditioning=c,
|
||||
|
Loading…
Reference in New Issue
Block a user