diff options
author | evshiron <evshiron@gmail.com> | 2022-11-02 04:31:33 +0000 |
---|---|---|
committer | evshiron <evshiron@gmail.com> | 2022-11-02 04:31:33 +0000 |
commit | 51e0a83969925e6b7b12b9b087d028c16ce04e3c (patch) | |
tree | bbccf573783cd2449e3774fe949c81dced83b6d4 /modules/img2img.py | |
parent | 1a4ff2de6a835cd8cc1590bbc1a8dedb5ad37e5b (diff) | |
parent | 55688c48806f9383f3a56f6b9a0ab8fbf205edd2 (diff) | |
download | stable-diffusion-webui-gfx803-51e0a83969925e6b7b12b9b087d028c16ce04e3c.tar.gz stable-diffusion-webui-gfx803-51e0a83969925e6b7b12b9b087d028c16ce04e3c.tar.bz2 stable-diffusion-webui-gfx803-51e0a83969925e6b7b12b9b087d028c16ce04e3c.zip |
Merge branch 'master' into fix/progress-api
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))
|