Skip to content

Commit 31f545b

Browse files
committed
Fix type hint
1 parent 3a55e72 commit 31f545b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/utils/hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def list_repo_templates(
149149
local_files_only: bool,
150150
revision: Optional[str] = None,
151151
cache_dir: Optional[str] = None,
152-
) -> List[str]:
152+
) -> list[str]:
153153
"""List template files from a repo.
154154
155155
A template is a jinja file located under the `templates/` folder.

0 commit comments

Comments
 (0)