Skip to content

Commit

Permalink
hr conditioning
Browse files Browse the repository at this point in the history
  • Loading branch information
invincibledude committed Jan 22, 2023
1 parent 125d5c8 commit 34f6d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def get_conds_with_caching(function, required_prompts, steps, cache):
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,
Expand Down

0 comments on commit 34f6d66

Please sign in to comment.