diff options
author | Taithrah <Taithrah@users.noreply.github.com> | 2023-01-08 20:58:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 20:58:53 +0000 |
commit | e9d7eff70a3429ee299cbdcae1aeb61fc4d2bcbf (patch) | |
tree | 2373cae4f4e4af72ed170647bf393015075791cc /modules/ui.py | |
parent | 8a27730da5d5b25e28370e8ad94844856a839af9 (diff) | |
parent | 8850fc23b6e8a8e210bdfe4aade81516fb5770f3 (diff) | |
download | stable-diffusion-webui-gfx803-e9d7eff70a3429ee299cbdcae1aeb61fc4d2bcbf.tar.gz stable-diffusion-webui-gfx803-e9d7eff70a3429ee299cbdcae1aeb61fc4d2bcbf.tar.bz2 stable-diffusion-webui-gfx803-e9d7eff70a3429ee299cbdcae1aeb61fc4d2bcbf.zip |
Merge branch 'AUTOMATIC1111:master' into small-touch-up
Diffstat (limited to 'modules/ui.py')
-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):
|