-
Notifications
You must be signed in to change notification settings - Fork 559
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
Return the liked users for for a huggingface model #1705
Comments
Hi @abstrcode, thanks for raising the question. It is currently not possible to get this information in We can definitely add a method in class HfApi:
(...)
def list_repo_likers(self, repo_id: str, *, repo_type: Optional[str] = None, token: Optional[str] = None) -> List[User]:
(...) Would you like to open a PR for that? I can give some guidance about what to update and where. First step would be to implement this method and create a WDYT? |
yes, would be a
good first issue
|
Hi @Wauplin, would you be able to provide more info about how to call the API? |
Hi @issamarabi , the implementation would be very similar to |
Currently, the is a function "list_liked_repos" to list user-liked models by inputting the user name. It would be better to have a function that outputs the list of liked users for a given model.
The text was updated successfully, but these errors were encountered: