[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-03-16 06:16:35 +00:00 committed by Daniel Han
commit c842e019d8

View file

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