diff options
author | Dement242 <113772485+Dement242@users.noreply.github.com> | 2022-09-17 19:02:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 19:02:46 +0000 |
commit | 33434fc6fc32987d56f8c402450c05b0a5a0164b (patch) | |
tree | afb19f09ddc336ebba13a9c1968cebad32538aff | |
parent | 23a0ec04c005957091ab35c26c4c31485e75d146 (diff) | |
download | stable-diffusion-webui-gfx803-33434fc6fc32987d56f8c402450c05b0a5a0164b.tar.gz stable-diffusion-webui-gfx803-33434fc6fc32987d56f8c402450c05b0a5a0164b.tar.bz2 stable-diffusion-webui-gfx803-33434fc6fc32987d56f8c402450c05b0a5a0164b.zip |
Fixed "CodeFormer visibility:" rounding to 2 decimals.
-rw-r--r-- | modules/extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extras.py b/modules/extras.py index 3d9d9f7a..cc8fed1b 100644 --- a/modules/extras.py +++ b/modules/extras.py @@ -60,7 +60,7 @@ def run_extras(image, image_folder, gfpgan_visibility, codeformer_visibility, co if codeformer_visibility < 1.0:
res = Image.blend(image, res, codeformer_visibility)
- info += f"CodeFormer w: {round(codeformer_weight, 2)}, CodeFormer visibility:{round(codeformer_visibility)}\n"
+ info += f"CodeFormer w: {round(codeformer_weight, 2)}, CodeFormer visibility:{round(codeformer_visibility, 2)}\n"
image = res
if upscaling_resize != 1.0:
|