Customize the example shown in Inference API
Huggingface’s Hosted Inference API always seems to display examples in English regardless of what language the user uploads a model for.Is there a way for users to customize the example shown so that it is relevant for a given model?*Edit: After searching some more I found the following link (Model Repos docs) which describes how a user can customize the inference task and the example shown. I will leave this thread up anyway for future users and search engine results, since I myself had huge difficulties finding the documentation.In my opinion Huggingface should absolutely mention this somewhere in the Accelerated Inference API documentation, since that is the top search result in search engines when searching for “inference api customize example” .
2022-03-21T10:51:01Z
Thank you Lauler, this is important, indeed.
2022-11-07T04:32:33Z
How to add a widget can be found hereWidgetsand it should be added to card metadataimage1396×940 63.8 KB