mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-09 00:01:34 -07:00
compact infotaxt info_json
This commit is contained in:
parent
8a6a4ad894
commit
36fb876da6
3 changed files with 34 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir,
|
|||
basename = ''
|
||||
forced_filename = None
|
||||
|
||||
infotext = ", ".join([k if k == v else f'{k}: {infotext_utils.quote(v)}' for k, v in pp.info.items() if v is not None])
|
||||
infotext = infotext_utils.build_infotext(pp.info)
|
||||
|
||||
if opts.enable_pnginfo:
|
||||
pp.image.info = existing_pnginfo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue