Any ideas on how to bind image label to my image using streamlit selectbox?

Hi I’m using streamlit to label image with the help of drawable canvas. My current problem is that by using select box to label my bounding box, it only takes the latest value from my select box
class_store
. Is there any alternatives from select box.

Current selection from select box are bind to some logic such as displaying different ui for different selection so the only solution I could think off is creating a different interface (i.e radio button) for it but I don’t have idea on how to start

This is the selectbox values and the purpose of these values are to use for image labelling using streamlit drawable canvas
sb_values