diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-07 10:29:47 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-07 10:29:47 +0000 |
commit | fdfce4711076c2ebac1089bac8169d043eb7978f (patch) | |
tree | 7e5536dcebb3ed37e32dc22c56d8118ae09a646a | |
parent | 983167e621aa55431f6dc7e0a26f021a66a33cd0 (diff) | |
download | stable-diffusion-webui-gfx803-fdfce4711076c2ebac1089bac8169d043eb7978f.tar.gz stable-diffusion-webui-gfx803-fdfce4711076c2ebac1089bac8169d043eb7978f.tar.bz2 stable-diffusion-webui-gfx803-fdfce4711076c2ebac1089bac8169d043eb7978f.zip |
add "from" resolution for hires fix to be less confusing.
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index 6c765262..99483130 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -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):
|