rmarquet21 / streamlit-annotation-tools

Streamlit Annotation Tools is a Streamlit component that gives you access to various annotation tools (labeling, highlighting, etc.) for text data.
https://pypi.org/project/streamlit-annotation-tools
MIT License
76 stars 6 forks source link

return selected label #4

Open imjainy opened 9 months ago

imjainy commented 9 months ago

The highlighter and labeler functions could also return the label selected on top so that additional stuff about those labels can be triggered or printed. Please can you add that functionality.