diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-14 06:19:08 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-14 06:19:08 +0000 |
commit | b7dbeda0d9e475aafa9db0cfe015bf724502ec20 (patch) | |
tree | 0cecba71f915cab04627843759bd8ccde96dec30 /modules/sd_models.py | |
parent | 6d8dcdefa07d5f8f7e528046b0facdcc51185e60 (diff) | |
download | stable-diffusion-webui-gfx803-b7dbeda0d9e475aafa9db0cfe015bf724502ec20.tar.gz stable-diffusion-webui-gfx803-b7dbeda0d9e475aafa9db0cfe015bf724502ec20.tar.bz2 stable-diffusion-webui-gfx803-b7dbeda0d9e475aafa9db0cfe015bf724502ec20.zip |
linter
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r-- | modules/sd_models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py index 267f4d8e..729f03d7 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -478,7 +478,7 @@ def load_model(checkpoint_info=None, already_loaded_state_dict=None): state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
checkpoint_config = sd_models_config.find_checkpoint_config(state_dict, checkpoint_info)
- clip_is_included_into_sd = any([x for x in [sd1_clip_weight, sd2_clip_weight, sdxl_clip_weight, sdxl_refiner_clip_weight] if x in state_dict])
+ clip_is_included_into_sd = any(x for x in [sd1_clip_weight, sd2_clip_weight, sdxl_clip_weight, sdxl_refiner_clip_weight] if x in state_dict)
timer.record("find config")
|