CoolFace
Apppublic

apersonnaz/so_tag_api

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
App README

Stack Overflow Tag inference API

The API exposes a model allowing to infer the tags associated to a text formatted as a StackOverflow question.

The text may have source code surrounded by <code></code>

You can try the endpoint on the OpenAPI documentation there: https://apersonnaz-so-tag-api.hf.space/docs#/default/infertagsinfertagspost

Use the Try it out button on the top right corner Then enter a JSON list of strings like:

[
  "How to center a div?",
  "What is this doing? <code> for i in range(10): print(i)</code>"
]

and click on execute, which returns the following Response body:

[
  [
    "html",
    "css"
  ],
  [
    "python"
  ]
]

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference