diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 06:02:23 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 06:02:23 +0000 |
commit | 4b854806d98cf5ccd48e5cd99c172613da7937f0 (patch) | |
tree | d4126545441e5b25fbb8aa19011499408d320e17 /modules/upscaler.py | |
parent | f741a98baccae100fcfb40c017b5c35c5cba1b0c (diff) | |
download | stable-diffusion-webui-gfx803-4b854806d98cf5ccd48e5cd99c172613da7937f0.tar.gz stable-diffusion-webui-gfx803-4b854806d98cf5ccd48e5cd99c172613da7937f0.tar.bz2 stable-diffusion-webui-gfx803-4b854806d98cf5ccd48e5cd99c172613da7937f0.zip |
F401 fixes for ruff
Diffstat (limited to 'modules/upscaler.py')
-rw-r--r-- | modules/upscaler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upscaler.py b/modules/upscaler.py index 777593b0..e145be30 100644 --- a/modules/upscaler.py +++ b/modules/upscaler.py @@ -41,7 +41,7 @@ class Upscaler: os.makedirs(self.model_path, exist_ok=True) try: - import cv2 + import cv2 # noqa: F401 self.can_tile = True except Exception: pass |