How to clear a number after entering a number_input

Nice you got it working. I can’t poke around as you haven’t posted the text. Please refer to this article next time you post a question as it helps the community and responders help you (e.g. point #3): Streamlit Components: how to post a question in the Streamlit forum