From 1e5d5434803e642503fad7d3deccfdaf4da9a66b Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sun, 30 Nov 2025 23:06:20 +0100 Subject: [PATCH] Include timestamp in image filename --- concept-maker_gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/concept-maker_gui.py b/concept-maker_gui.py index 3d7f431..c3041e3 100644 --- a/concept-maker_gui.py +++ b/concept-maker_gui.py @@ -34,6 +34,7 @@ import threading import traceback import hashlib import contextlib +import numpy as np from dataclasses import dataclass from enum import Enum from pathlib import Path @@ -1946,7 +1947,7 @@ class App(TkinterDnD.Tk): # type: ignore img = res.images[0] slug = self._slug(self.title_var.get().strip() or "image") ts = int(time.time()) - fname = f"{slug}-sdxl.png" if slug else f"image-{ts}.png" + fname = f"{slug}-sdxl-{ts}.png" if slug else f"image-{ts}.png" out_path = output_dir / fname try: img.save(out_path)