Interactive annotation using Streamlit

I recommend this thread that was motivated by a similar use case. Maybe you can find an answer in there. Else, maybe you can continue the thread there.