[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
9e3aa584c6
commit
57c6e11c36
1 changed files with 3 additions and 3 deletions
|
|
@ -754,10 +754,10 @@ class DiffusionBackend:
|
|||
if kind == "single_file" and single_file_is_pipeline:
|
||||
base_filter = _base_config_file_downloaded
|
||||
else:
|
||||
|
||||
def base_filter(rfilename: str) -> bool:
|
||||
return _base_file_downloaded(
|
||||
rfilename, include_transformer = include_transformer
|
||||
)
|
||||
return _base_file_downloaded(rfilename, include_transformer = include_transformer)
|
||||
|
||||
base_info = api.model_info(base_repo, files_metadata = True, token = hf_token)
|
||||
for s in base_info.siblings:
|
||||
if base_filter(s.rfilename):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue