import streamlit as st if st.button("Press me"): st.text("The button with text Press me was clicked") # Rest of the logic