Checkbox and Buttons not working with Upload

Hello Team - I am working on a steamlit app where am trying to do the following:

  • Upload data in csv format

  • Perform some data analysis

  • Ask user to click on “sidebar.checkbox” to run the model

  • After clicked, showcase the results.

I had created the app few months back and it worked perfectly but now it seems to crash after the clicking on checkbox. Any reason why? I suspect it is related to having “upload” and “checkbox” in the same page but am not sure.

Hi @shirish201, welcome to the Streamlit community!

Can you post the code that is crashing so we can take a look at it?