typo "conaining" -> "containing" (#16132)

This commit is contained in:
marxav 2022-03-15 12:08:53 +01:00 committed by GitHub
parent 5664d27622
commit cd1ffb40bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -623,7 +623,7 @@ class PretrainedConfig(PushToHubMixin):
except HTTPError:
raise EnvironmentError(
"We couldn't connect to 'https://huggingface.co/' to load this model and it looks like "
f"{pretrained_model_name_or_path} is not the path to a directory conaining a {configuration_file} "
f"{pretrained_model_name_or_path} is not the path to a directory containing a {configuration_file} "
"file.\nCheckout your internet connection or see how to run the library in offline mode at "
"'https://huggingface.co/docs/transformers/installation#offline-mode'."
)