-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat] Endpoint configure gating on a repo #2447
Comments
Yeah @Wauplin, this method to add a gate to repo programmatically can give more flexibility to adapt and access control for project needs, plus automating this process can streamline the workflow and reduce the manual effort for evaluation phase. |
Yes, that's exactly the goal! There are two main objectives:
|
Alright, I got it. |
So what you'll need to do is:
And that's it! If you have questions just let me know. You can always open a draft PR with only a subset of what I've mentioned above if you want a confirmation you are in the good direction. |
* [Feature] Update Repo Settings * resolve merge conflicts * fix merge issue * merge issues * Add `update_repo_settings` function to HfApi * Add `update_repo_settings` function to HfApi * Enhance HfApi with `update_repo_settings` function * Enhance HfApi with `update_repo_settings` function * Enhance HfApi with `update_repo_settings` function * Enhance HfApi with `update_repo_settings` function * Enhance HfApi with `update_repo_settings` function * Apply suggestions from code review --------- Co-authored-by: Lucain <lucain@huggingface.co> Co-authored-by: Lucain Pouget <lucainp@gmail.com>
Closed by #2502. Thanks @WizKnight ! |
It's possible to add a gate to a repo programmatically. It's used in the Open LLM Leaderboard for instance (see slack -internal-). It can be done like this:
Value can be
"auto"
,"manual"
orFalse
.It would be nice to add it as a new method in
HfApi
.The text was updated successfully, but these errors were encountered: