Merge pull request #9657 from Filexor/master

Add filename pattern for CLIP_stop_at_last_layers (clip skip).
This commit is contained in:
AUTOMATIC1111 2023-04-29 09:43:43 +03:00 committed by GitHub
commit cf5bd93200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'