diff options
author | papuSpartan <30642826+papuSpartan@users.noreply.github.com> | 2022-11-01 19:05:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 19:05:57 +0000 |
commit | d0d74e459dee07fdb63783812a1a442d03fbe54f (patch) | |
tree | 18e08ec3d8c0450a6328aae0355403854944cd02 /modules/img2img.py | |
parent | 401350cd59555439570ba5bc95f0ac5698e372e4 (diff) | |
parent | 198a1ffcfc963a3d74674fad560e87dbebf7949f (diff) | |
download | stable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.tar.gz stable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.tar.bz2 stable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.zip |
Merge branch 'AUTOMATIC1111:master' into js
Diffstat (limited to 'modules/img2img.py')
-rw-r--r-- | modules/img2img.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/img2img.py b/modules/img2img.py index efda26e1..35c5df9b 100644 --- a/modules/img2img.py +++ b/modules/img2img.py @@ -55,6 +55,7 @@ def process_batch(p, input_dir, output_dir, args): filename = f"{left}-{n}{right}"
if not save_normally:
+ os.makedirs(output_dir, exist_ok=True)
processed_image.save(os.path.join(output_dir, filename))
|