huggingface_hub
b853ec66 - Add `--container-registry-{username,password}` (#4854)

Commit
74 days ago
Add `--container-registry-{username,password}` (#4854) * Add `--container-registry-{username,password}` Custom containers might live in private registries e.g., a Hugging Face Space or a private AWS ECR, and a `username` and `password` might be required. Given that the underlying API already supports those *only with custom containers*, then this commit adds both `--container-registry-username` and `--container-registry-password` in such cases. More information about the API spec at https://api.endpoints.huggingface.cloud/#post-/v2/endpoint/-namespace- Signed-off-by: Alvaro Bartolome <36760800+alvarobartt@users.noreply.github.com> * Fix `mypy` Signed-off-by: Alvaro Bartolome <36760800+alvarobartt@users.noreply.github.com> --------- Signed-off-by: Alvaro Bartolome <36760800+alvarobartt@users.noreply.github.com>
Author
Parents
Loading