F401 fixes for ruff

This commit is contained in:
AUTOMATIC
2023-05-10 09:02:23 +03:00
parent f741a98bac
commit 4b854806d9
17 changed files with 27 additions and 30 deletions

View File

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