diff --git a/apps/stable_diffusion/src/utils/utils.py b/apps/stable_diffusion/src/utils/utils.py index ddf444e788..604c0b0bb0 100644 --- a/apps/stable_diffusion/src/utils/utils.py +++ b/apps/stable_diffusion/src/utils/utils.py @@ -725,7 +725,7 @@ def save_output_img(output_img, img_seed, extra_info={}): prompt_slice = re.sub("[^a-zA-Z0-9]", "_", args.prompts[0][:15]) out_img_name = ( - f"{prompt_slice}_{img_seed}_{dt.now().strftime('%y%m%d_%H%M%S')}" + f"{dt.now().strftime('%H%M%S')}_{prompt_slice}_{img_seed}" ) img_model = args.hf_model_id