To overcome the error : "`label` got an empty value. This is discouraged for accessibility reasons and may be disallowed in the future by raising an exception. Please provide a non-empty label and hide it with label_visibility if needed." Do below steps: 1. Do check for empty strings: option = st.selectbox( ' ' , list_options) ^ replace the empty string: ' ' with any text :'below;