chore: ruff and lint fixes

This commit is contained in:
blessedcoolant
2024-04-03 20:38:29 +05:30
parent cf88bd3294
commit 5f01de1993
2 changed files with 4 additions and 1 deletions

View File

@ -707,7 +707,9 @@ class ControlNetFolderProbe(FolderProbeBase):
else (
BaseModelType.StableDiffusion2
if dimension == 1024
else BaseModelType.StableDiffusionXL if dimension == 2048 else None
else BaseModelType.StableDiffusionXL
if dimension == 2048
else None
)
)
if not base_model: