We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d79b930 + 525c1ed commit c28de15Copy full SHA for c28de15
modules/img2img.py
@@ -55,6 +55,7 @@ def process_batch(p, input_dir, output_dir, args):
55
filename = f"{left}-{n}{right}"
56
57
if not save_normally:
58
+ os.makedirs(output_dir, exist_ok=True)
59
processed_image.save(os.path.join(output_dir, filename))
60
61
0 commit comments