Streamlit button doubles up when clicked

I have a streamlit app in snowflake (streamlit version 1.44.0). I have a button which when clicked runs the required code but doubles up on screen

This the code that is run :

if run_col1.button(“Run now”):
engineReturn = run_engine(session, run_date)

This code works fine in 1.39, but doesn’t in 1.44 (I need 1.44 to make use of another feature elsewhere). Any idea why this is happenning?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.