aboutsummaryrefslogtreecommitdiff
path: root/modules/processing.py
diff options
context:
space:
mode:
authorCookieHCl <nhc7502@snu.ac.kr>2022-10-16 21:59:05 +0900
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-16 16:36:06 +0300
commitc9836279f58461e04c1dda0a86e718f8bd3f41e4 (patch)
treea6eab9b355e088eb1f99457cf3cfac9e2420792b /modules/processing.py
parent91235d8008372862b1f232f7bf99da310a5955e4 (diff)
Only make output dir when creating output
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py6
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()