👨💻 Configure HF Hub URL with environment variable (#815)
* Make ENDPOINT configurable via an environment variable
* ⬆ Needs requests>=2.27 for JSONDecodeError
See https://docs.python-requests.org/en/latest/community/updates/#id2
* 🔧 Add private param to repo_type_and_id_from_hf_id
Only for testing purposes
* 💄 Code quality
* 🩹 Parentheses are important
* 👌 Suggested implementation
* 🔥 We don't need this anymore, do we ?
* Rename hf_api to client