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