diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 05:43:42 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 05:43:42 +0000 |
commit | f741a98baccae100fcfb40c017b5c35c5cba1b0c (patch) | |
tree | 685027bfa989c99583bd4980f437443bf270cec0 /modules/images.py | |
parent | 96d6ca4199e7c5eee8d451618de5161cea317c40 (diff) | |
download | stable-diffusion-webui-gfx803-f741a98baccae100fcfb40c017b5c35c5cba1b0c.tar.gz stable-diffusion-webui-gfx803-f741a98baccae100fcfb40c017b5c35c5cba1b0c.tar.bz2 stable-diffusion-webui-gfx803-f741a98baccae100fcfb40c017b5c35c5cba1b0c.zip |
imports cleanup for ruff
Diffstat (limited to 'modules/images.py')
-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 5eb6d855..7392cb8b 100644 --- a/modules/images.py +++ b/modules/images.py @@ -19,7 +19,7 @@ import json import hashlib
from modules import sd_samplers, shared, script_callbacks, errors
-from modules.shared import opts, cmd_opts
+from modules.shared import opts
LANCZOS = (Image.Resampling.LANCZOS if hasattr(Image, 'Resampling') else Image.LANCZOS)
|