Hi, I would like my script to stop execution if a condition is met, something like this
if BOOL_CONDITION:
st.write("The condition was met, stopping execution here")
sys.exit()
However, the streamlit always shows a red traceback like this
What I really don’t want to do, is to have an if-else structure, where 90% of my application gets an additional level of indentation
Any help will be hugely appreciated, thanks!