Yeah you’ll have to go deeper into the Components API to get back data, but you’re almost there!
- official docs: Components API - Streamlit Docs
- this is non-react template, I think you could almost copy paste your script code there and plug in there the
Streamlit.setComponentValueto your slider value: Code snippet: create Components without any frontend tooling (no React, Babel, Webpack, etc) -
Show the Community! - Streamlit