so_tag_api / README.md
apersonnaz
HF bug fix.
07c8bd5
metadata
title: So Tag Api
emoji: 📉
colorFrom: yellow
colorTo: purple
sdk: docker
pinned: false

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/infer_tags_infer_tags_post

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