aboutsummaryrefslogtreecommitdiff
path: root/modules/images.py
diff options
context:
space:
mode:
authorFile_xor <filexor@gmail.com>2023-04-16 16:49:21 +0900
committerFile_xor <filexor@gmail.com>2023-04-16 16:49:21 +0900
commit596556162efd66cca225dffa3765d77cd51f69fe (patch)
tree6c4888d04fb48b2ce483a592bc102b3486464298 /modules/images.py
parent22bcc7be428c94e9408f589966c2040187245d81 (diff)
Add filename pattern for CLIP_stop_at_last_layers.
Diffstat (limited to 'modules/images.py')
-rw-r--r--modules/images.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/images.py b/modules/images.py
index b3535070..6391c34c 100644
--- a/modules/images.py
+++ b/modules/images.py
@@ -352,6 +352,7 @@ class FilenameGenerator:
'prompt_no_styles': lambda self: self.prompt_no_style(),
'prompt_spaces': lambda self: sanitize_filename_part(self.prompt, replace_spaces=False),
'prompt_words': lambda self: self.prompt_words(),
+ 'clip_skip': lambda: opts.data["CLIP_stop_at_last_layers"],
}
default_time_format = '%Y%m%d%H%M%S'