Skip to content

Commit 397a5ed

Browse files
authored
Fix error message in hub.py (#37796)
Fix error message
1 parent 6ce675e commit 397a5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/utils/hub.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def cached_files(
572572
)
573573
raise EnvironmentError(
574574
f"{path_or_repo_id} does not appear to have {msg}. Checkout 'https://huggingface.co/{path_or_repo_id}/tree/{revision_}'"
575-
"for available files."
575+
" for available files."
576576
)
577577

578578
# Remove potential missing entries (we can silently remove them at this point based on the flags)

0 commit comments

Comments
 (0)