You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseConnectionError(f"Couldn't reach '{path}' on the Hub ({type(e).__name__})")
1806
1806
elif"404"instr(e):
1807
-
msg=f"Dataset '{path}' doesn't exist on the Hub"
1807
+
msg=f"Dataset '{path}' doesn't exist on the Hub or cannot be accessed"
1808
1808
raiseDatasetNotFoundError(msg+f" at revision '{revision}'"ifrevisionelsemsg)
1809
1809
elif"401"instr(e):
1810
-
msg=f"Dataset '{path}' doesn't exist on the Hub"
1810
+
msg=f"Dataset '{path}' doesn't exist on the Hub or cannot be accessed"
1811
1811
msg=msg+f" at revision '{revision}'"ifrevisionelsemsg
1812
1812
raiseDatasetNotFoundError(
1813
-
msg+". If the repo is private or gated, make sure to log in with `huggingface-cli login`."
1813
+
msg
1814
+
+f". If the dataset is private or gated, make sure to log in with `huggingface-cli login` or visit the dataset page at https://huggingface.co/datasets/{path} to ask for access."
0 commit comments