aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
authorTaithrah <Taithrah@users.noreply.github.com>2023-01-08 15:58:53 -0500
committerGitHub <noreply@github.com>2023-01-08 15:58:53 -0500
commite9d7eff70a3429ee299cbdcae1aeb61fc4d2bcbf (patch)
tree2373cae4f4e4af72ed170647bf393015075791cc /modules/ui.py
parent8a27730da5d5b25e28370e8ad94844856a839af9 (diff)
parent8850fc23b6e8a8e210bdfe4aade81516fb5770f3 (diff)
Merge branch 'AUTOMATIC1111:master' into small-touch-up
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py2
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):