Hi,
related to this topic
Streamlit supports running the app via cli streamlit run your_app.py
Why it’s not supported, and documented, to do it within python?
It’s possible doing
from streamlit import config as _config
from streamlit.web.bootstrap import run
_config.set_option("server.headless", True)
run('your_app.py', args=[], flag_options=[], is_hello=False)
But method run
it’s not stable, nor documented.
It’s an internal method