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",