-
Notifications
You must be signed in to change notification settings - Fork 470
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
Add documentation for endpoints #155
Conversation
"Hugging Face API"? |
Couldn't it end up being a bit confusing with the Inference API? |
"Hugging Face Hub endpoints" no? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few changes suggestions:
- I would split "Endpoint" and "
huggingface_hub
method" into two distinct colums for clarity - (the http method can be in the same column as the endpoint to save space)
- i would change the order to put
list_models
andmodel_info
(arguably the most important ones) first
Co-authored-by: Julien Chaumond <julien@huggingface.co>
[edit]: just saw your edit, I'll try it out
This was my initial approach but I struggled a bit with the column widths. The result was pretty much that a column is "hidden" unless the user scrolls horizontally, which is not super clear that you can do. I tried some hacks (setting img with with, etc) to fix this, but they didn't work. |
I updated based on the comments @julien-c. Let me know if this looks good |
i think it works, what do you think? |
Yes, I think for the time being this works :) |
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
* Document hub webhook * [skip ci] * suggestions from @osanseviero Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.github.com> Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, LGTM @osanseviero!
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
Fix #129