add "from" resolution for hires fix to be less confusing.

This commit is contained in:
AUTOMATIC 2023-01-07 13:29:47 +03:00
parent 983167e621
commit fdfce47110
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ def calc_resolution_hires(enable, width, height, hr_scale, hr_resize_x, hr_resiz
with devices.autocast():
p.init([""], [0], [0])
return f"resize to: <span class='resolution'>{p.hr_upscale_to_x}x{p.hr_upscale_to_y}</span>"
return f"resize: from <span class='resolution'>{width}x{height}</span> to <span class='resolution'>{p.hr_upscale_to_x}x{p.hr_upscale_to_y}</span>"
def apply_styles(prompt, prompt_neg, style1_name, style2_name):