From 33434fc6fc32987d56f8c402450c05b0a5a0164b Mon Sep 17 00:00:00 2001 From: Dement242 <113772485+Dement242@users.noreply.github.com> Date: Sat, 17 Sep 2022 21:02:46 +0200 Subject: [PATCH] Fixed "CodeFormer visibility:" rounding to 2 decimals. --- modules/extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/extras.py b/modules/extras.py index 3d9d9f7a8..cc8fed1b4 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: