I have been trying to create a web dashboard with streamlit. The error after running a segment comes to be, " There are multiple identical st.button widgets with the same generated key.
"
I am attaching a section of my code below
x = 1
while x > 0:
if st.sidebar.button("1. Mouthshut.com"):
analyse(df1)
if st.sidebar.button("2. Bankbazaar"):
analyse(df2)
if st.sidebar.button("3. Creditkaro"):
analyse(df3)
if st.sidebar.button("4. Appgrooves"):
analyse(df4)
st.header("All the websites combined")
analyse(df)
if st.sidebar.button("Exit"):
break
I would appreciate the help. Thank you