diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-18 04:30:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 04:30:05 +0000 |
commit | c57ae054e9fafcea0567c4a00765b805dbc38ec3 (patch) | |
tree | 924bc155528f0500c1bb8df13a0963d1583e1f1d | |
parent | 17b60490fa59ab0b5577b6ebc1d231c9e89e3710 (diff) | |
parent | 3a050d19c6ce9c8cc838bd3c924eb43a34ca5309 (diff) | |
download | stable-diffusion-webui-gfx803-c57ae054e9fafcea0567c4a00765b805dbc38ec3.tar.gz stable-diffusion-webui-gfx803-c57ae054e9fafcea0567c4a00765b805dbc38ec3.tar.bz2 stable-diffusion-webui-gfx803-c57ae054e9fafcea0567c4a00765b805dbc38ec3.zip |
Merge pull request #634 from Dement242/Dement242-patch-1
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:
|