Skip to content
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

It isn't possible to disable the heading of a Label #9975

Closed
1 task done
umarbutler opened this issue Nov 17, 2024 · 1 comment · Fixed by #9987
Closed
1 task done

It isn't possible to disable the heading of a Label #9975

umarbutler opened this issue Nov 17, 2024 · 1 comment · Fixed by #9987
Labels
bug Something isn't working

Comments

@umarbutler
Copy link

Describe the bug

By default, gr.Label will always show the top class in a h2 tag, even if the confidence for that class is <0.5. There doesn't seem to be any way to disable this.

See also https://discuss.huggingface.co/t/how-to-hide-first-label-in-label-component/58036

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

See above.

Screenshot

No response

Logs

No response

System Info

N/A

Severity

Blocking usage of gradio

@umarbutler umarbutler added the bug Something isn't working label Nov 17, 2024
@abidlabs
Copy link
Member

Yes, I think this makes sense for the multilabel setting, related: #1051

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants