diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-04-29 06:43:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 06:43:43 +0000 |
commit | cf5bd932001c34fe800cd2e32bfbf9ed0be35913 (patch) | |
tree | ed55a939bf87994888e2df188f82d09a054b4aea /modules/images.py | |
parent | 1514add5597d3dde0360110d158da7772b054cad (diff) | |
parent | acbec225549987297383e3a31290b3f80ed064fd (diff) | |
download | stable-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.py | 1 |
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'
|