I am getting the following error while using st_theme with latest streamlit version (1.45). May I know how to fix this?
theme = st_theme()["base"] # either 'light' or 'dark'
print("theme: {0}".format(theme))
Error is:
StreamlitDuplicateElementId: There are multiple `component_instance` elements with the
same auto-generated ID. When this element is created, it is assigned an internal ID
based on the element type and provided parameters. Multiple elements with the same type
and parameters will cause this error.