Are you running your app locally or is it deployed?
Share the Stream list and Python versions.
Streamlit v. 1.28.0
I want to implement starting and stopping a Python background script (my_script.py).
using the radio button (st.radio())
my_script.py uses an infinite “while” loop inside itself.
Tell me, please, how to do it correctly.