diff options
author | File_xor <filexor@gmail.com> | 2023-04-16 08:14:11 +0000 |
---|---|---|
committer | File_xor <filexor@gmail.com> | 2023-04-16 08:14:11 +0000 |
commit | acbec225549987297383e3a31290b3f80ed064fd (patch) | |
tree | f6c40902f3927b233f006807fb8bbc926782b551 | |
parent | 596556162efd66cca225dffa3765d77cd51f69fe (diff) | |
download | stable-diffusion-webui-gfx803-acbec225549987297383e3a31290b3f80ed064fd.tar.gz stable-diffusion-webui-gfx803-acbec225549987297383e3a31290b3f80ed064fd.tar.bz2 stable-diffusion-webui-gfx803-acbec225549987297383e3a31290b3f80ed064fd.zip |
Add self argument that is mandatory to [clip_skip] filename pattern.
-rw-r--r-- | modules/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/images.py b/modules/images.py index 6391c34c..1a118a69 100644 --- a/modules/images.py +++ b/modules/images.py @@ -352,7 +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"],
+ 'clip_skip': lambda self: opts.data["CLIP_stop_at_last_layers"],
}
default_time_format = '%Y%m%d%H%M%S'
|