diff options
author | CookieHCl <nhc7502@snu.ac.kr> | 2022-10-16 12:59:05 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-16 13:36:06 +0000 |
commit | c9836279f58461e04c1dda0a86e718f8bd3f41e4 (patch) | |
tree | a6eab9b355e088eb1f99457cf3cfac9e2420792b /modules/processing.py | |
parent | 91235d8008372862b1f232f7bf99da310a5955e4 (diff) | |
download | stable-diffusion-webui-gfx803-c9836279f58461e04c1dda0a86e718f8bd3f41e4.tar.gz stable-diffusion-webui-gfx803-c9836279f58461e04c1dda0a86e718f8bd3f41e4.tar.bz2 stable-diffusion-webui-gfx803-c9836279f58461e04c1dda0a86e718f8bd3f41e4.zip |
Only make output dir when creating output
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/processing.py b/modules/processing.py index 833fed8a..deb6125e 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -334,12 +334,6 @@ def process_images(p: StableDiffusionProcessing) -> Processed: seed = get_fixed_seed(p.seed)
subseed = get_fixed_seed(p.subseed)
- if p.outpath_samples is not None:
- os.makedirs(p.outpath_samples, exist_ok=True)
-
- if p.outpath_grids is not None:
- os.makedirs(p.outpath_grids, exist_ok=True)
-
modules.sd_hijack.model_hijack.apply_circular(p.tiling)
modules.sd_hijack.model_hijack.clear_comments()
|