File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4073,7 +4073,7 @@ def _push_parquet_shards_to_hub(
40734073
40744074 if token is None :
40754075 raise OSError (
4076- "You need to provide a `token` or be logged in to Hugging Face with " " `huggingface-cli login`."
4076+ "You need to provide a `token` or be logged in to Hugging Face with `huggingface-cli login`."
40774077 )
40784078
40794079 if split is None :
Original file line number Diff line number Diff line change @@ -1161,7 +1161,7 @@ def dataset_module_factory(
11611161 msg = msg + f" at revision '{ revision } '" if revision else msg
11621162 raise FileNotFoundError (
11631163 msg
1164- + ". If the repo is private, make sure you are authenticated with `` use_auth_token=True`` after logging in with `` huggingface-cli login`` `."
1164+ + ". If the repo is private, make sure you are authenticated with `use_auth_token=True` after logging in with `huggingface-cli login`."
11651165 )
11661166 else :
11671167 raise e
Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ def get_from_cache(
509509 logger .info (f"Couldn't get ETag version for url { url } " )
510510 elif response .status_code == 401 and config .HF_ENDPOINT in url and use_auth_token is None :
511511 raise ConnectionError (
512- f"Unauthorized for URL { url } . Please use the parameter `` use_auth_token=True`` after logging in with `` huggingface-cli login` `"
512+ f"Unauthorized for URL { url } . Please use the parameter `use_auth_token=True` after logging in with `huggingface-cli login`"
513513 )
514514 except (OSError , requests .exceptions .Timeout ) as e :
515515 # not connected
You can’t perform that action at this time.
0 commit comments