From f6cdcd3f12d86225962b252d582022a052e98a1a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 15:00:23 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/routes/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/studio/backend/routes/models.py b/studio/backend/routes/models.py index d360a167e1..b3303a261e 100644 --- a/studio/backend/routes/models.py +++ b/studio/backend/routes/models.py @@ -3215,7 +3215,6 @@ def _arch_to_task(arch: Optional[str]) -> Optional[str]: # to the unsupported bucket (hidden from chat, not surfaced in the Video/Images pickers) # until its family exists, rather than advertising a GGUF that cannot load. from core.inference.video_families import detect_video_family - if detect_video_family("", override = a) is not None: return _VIDEO_GEN_TASK return _UNSUPPORTED_DIFFUSION_TASK