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.
1 parent 5c9b362 commit 525c1edCopy full SHA for 525c1ed
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