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 d973ba1 commit ecc5c66Copy full SHA for ecc5c66
apps/stable_diffusion/src/utils/utils.py
@@ -538,7 +538,9 @@ def clear_all():
538
# save output images and the inputs corresponding to it.
539
def save_output_img(output_img, img_seed):
540
output_path = args.output_dir if args.output_dir else Path.cwd()
541
- generated_imgs_path = Path(output_path, "generated_imgs")
+ generated_imgs_path = Path(
542
+ output_path, "generated_imgs", dt.now().strftime("%Y%m%d")
543
+ )
544
generated_imgs_path.mkdir(parents=True, exist_ok=True)
545
csv_path = Path(generated_imgs_path, "imgs_details.csv")
546
0 commit comments