From e5637c3e8df04dba6b8b3af74306f6b5ce85ee47 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sun, 10 Aug 2025 07:58:25 -0400 Subject: [PATCH] add pag to namegen Signed-off-by: Vladimir Mandic --- modules/images_namegen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/images_namegen.py b/modules/images_namegen.py index 8cf565b67..673ab9cac 100644 --- a/modules/images_namegen.py +++ b/modules/images_namegen.py @@ -49,6 +49,7 @@ class FilenameGenerator: 'seed': lambda self: (self.seed and str(self.seed)) or '', 'steps': lambda self: self.p and getattr(self.p, 'steps', 0), 'cfg': lambda self: self.p and getattr(self.p, 'cfg_scale', 0), + 'pag': lambda self: self.p and getattr(self.p, 'pag_scale', 0), 'clip_skip': lambda self: self.p and getattr(self.p, 'clip_skip', 0), 'denoising': lambda self: self.p and getattr(self.p, 'denoising_strength', 0), 'styles': lambda self: (self.p and ", ".join([style for style in self.p.styles if not style == "None"])) or "None",