From c842e019d8bd24030f6e14cec10be853f1a60f5e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 06:16:35 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/core/inference/llama_cpp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.py index f20a4fbe10..c0208d654d 100644 --- a/studio/backend/core/inference/llama_cpp.py +++ b/studio/backend/core/inference/llama_cpp.py @@ -551,8 +551,7 @@ class LlamaCppBackend: files = list_repo_files(hf_repo, token = hf_token) mmproj_files = sorted( - f for f in files - if f.endswith(".gguf") and "mmproj" in f.lower() + f for f in files if f.endswith(".gguf") and "mmproj" in f.lower() ) if not mmproj_files: return None