[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
39854f4429
commit
c842e019d8
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue