Summary
Hi,
I’ve created a button to run a function when it’s clicked. The functionality works as expected but is there a way to stop it displaying True/False underneath the button before and after it’s clicked?
Thanks
Steps to reproduce
Code snippet:
run_comparison = st.button("Run Comparison")
st.write(run_comparison)
if run_comparison:
output_df = compare_file(current_month_df,previous_month_df)
st.write(output_df)
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
Expected behavior:
Do not display True/False underneath button
Actual behavior:
Does display True/False