Update accel_sdxl_gen_img_v2.py

This commit is contained in:
DKnight54
2025-01-26 15:11:58 +08:00
committed by GitHub
parent 29ac2238a5
commit 13a40bdf8e

View File

@@ -2417,6 +2417,9 @@ def main(args):
else:
fln = f"im_{globalcount:02d}_{ts_str}_{highres_prefix}{i:03d}_{seed}.png"
logger.info(f"Saving Image: {fln}:\nPrompt: {prompt}")
if negative_prompt is not None:
logger.info(f"Negative Prompt: {negative_prompt}\n")
image.save(os.path.join(args.outdir, fln), pnginfo=metadata)
if not args.no_preview and not highres_1st and args.interactive: