aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFile_xor <filexor@gmail.com>2023-04-16 07:49:21 +0000
committerFile_xor <filexor@gmail.com>2023-04-16 07:49:21 +0000
commit596556162efd66cca225dffa3765d77cd51f69fe (patch)
tree6c4888d04fb48b2ce483a592bc102b3486464298
parent22bcc7be428c94e9408f589966c2040187245d81 (diff)
downloadstable-diffusion-webui-gfx803-596556162efd66cca225dffa3765d77cd51f69fe.tar.gz
stable-diffusion-webui-gfx803-596556162efd66cca225dffa3765d77cd51f69fe.tar.bz2
stable-diffusion-webui-gfx803-596556162efd66cca225dffa3765d77cd51f69fe.zip
Add filename pattern for CLIP_stop_at_last_layers.
-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'