diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-08 11:19:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 11:19:34 +0000 |
commit | fc049a2fd3fe4a7d5859ae004d81f30e59f42d06 (patch) | |
tree | 15af914a7967a317abd7d9e0975dc4b2c17376cd /modules/postprocessing.py | |
parent | 522a8b9f629940a205812b5b023f25c051f3c8d8 (diff) | |
parent | ae74b44c69a40c3b2f2a91f5ee4160e6d8bbd31e (diff) | |
download | stable-diffusion-webui-gfx803-fc049a2fd3fe4a7d5859ae004d81f30e59f42d06.tar.gz stable-diffusion-webui-gfx803-fc049a2fd3fe4a7d5859ae004d81f30e59f42d06.tar.bz2 stable-diffusion-webui-gfx803-fc049a2fd3fe4a7d5859ae004d81f30e59f42d06.zip |
Merge branch 'dev' into better-status-reporting-1
Diffstat (limited to 'modules/postprocessing.py')
-rw-r--r-- | modules/postprocessing.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/postprocessing.py b/modules/postprocessing.py index 544b2f72..136e9c88 100644 --- a/modules/postprocessing.py +++ b/modules/postprocessing.py @@ -53,7 +53,9 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir, for image, name in zip(image_data, image_names):
shared.state.textinfo = name
- existing_pnginfo = image.info or {}
+ parameters, existing_pnginfo = images.read_info_from_image(image)
+ if parameters:
+ existing_pnginfo["parameters"] = parameters
pp = scripts_postprocessing.PostprocessedImage(image.convert("RGB"))
|