Adding the ability to configure the timeout of get request (#1720)
* Adding the ability to configure the timeout of get request
* Update docs/source/en/package_reference/environment_variables.md
Update HF_HUB_ETAG_TIMEOUT documentation
Co-authored-by: Lucain <lucainp@gmail.com>
* Update docs/source/en/package_reference/environment_variables.md
Update HF_HUB_DOWNLOAD_TIMEOUT documentation
Co-authored-by: Lucain <lucainp@gmail.com>
* Update src/huggingface_hub/_snapshot_download.py
Co-authored-by: Lucain <lucainp@gmail.com>
* Update src/huggingface_hub/file_download.py
Co-authored-by: Lucain <lucainp@gmail.com>
* Update src/huggingface_hub/file_download.py
Co-authored-by: Lucain <lucainp@gmail.com>
* Update src/huggingface_hub/file_download.py
Co-authored-by: Lucain <lucainp@gmail.com>
* Update src/huggingface_hub/hf_api.py
Co-authored-by: Lucain <lucainp@gmail.com>
* Update src/huggingface_hub/hf_api.py
Co-authored-by: Lucain <lucainp@gmail.com>
* Apply suggestions from code review
* make style
---------
Co-authored-by: Lucain <lucainp@gmail.com>