aboutsummaryrefslogtreecommitdiffstats
path: root/modules/images.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-04-29 06:43:43 +0000
committerGitHub <noreply@github.com>2023-04-29 06:43:43 +0000
commitcf5bd932001c34fe800cd2e32bfbf9ed0be35913 (patch)
treeed55a939bf87994888e2df188f82d09a054b4aea /modules/images.py
parent1514add5597d3dde0360110d158da7772b054cad (diff)
parentacbec225549987297383e3a31290b3f80ed064fd (diff)
downloadstable-diffusion-webui-gfx803-cf5bd932001c34fe800cd2e32bfbf9ed0be35913.tar.gz
stable-diffusion-webui-gfx803-cf5bd932001c34fe800cd2e32bfbf9ed0be35913.tar.bz2
stable-diffusion-webui-gfx803-cf5bd932001c34fe800cd2e32bfbf9ed0be35913.zip
Merge pull request #9657 from Filexor/master
Add filename pattern for CLIP_stop_at_last_layers (clip skip).
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..1a118a69 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 self: opts.data["CLIP_stop_at_last_layers"],
}
default_time_format = '%Y%m%d%H%M%S'