STREAMLIT TRICKS - Web App RERUNS on every WIDGET CLICKS ? Here's WHAT-TO-DO |SessionState| PYTHON

STREAMLIT TRICKS - Web App RERUNS on every WIDGET CLICKS ? Here's WHAT-TO-DO |SessionState| PYTHON

25.806 Lượt nghe
STREAMLIT TRICKS - Web App RERUNS on every WIDGET CLICKS ? Here's WHAT-TO-DO |SessionState| PYTHON
If you have been using Streamlit to build your Data Science or Machine learning Web Application, probably you are already aware, that whenever any interactive change is invoked through applications’s widgets, Streamlit web application reruns from the very top to the bottom of your python script. In this video, I’ll try to highlight those possible workarounds. 🎈 Streamlit - https://streamlit.io 🎈 Streamlit Session State Blog - https://blog.streamlit.io/session-state-for-streamlit/ Segments - 00:00 - Intro 00:59 - Default Behaviour of Streamlit App 02:51 - Work Around - 1 (Check Box) 03:52 - Limitation of Work Around - 1 04:19 - Work Around -2 (SessionState + Button) 06:10 - Wrapping Up ▶️ Are you looking for similar videos, here's another video of mine on STREAMLIT Python TRICKS - make your WEB APP look BETTER in 6 Minutes |Machine Learning| Data Science- https://youtu.be/G9U4Uixssf0 📹More videos ? Here's the playlist - https://www.youtube.com/playlist?list=PLqQrRCH56DH8JSoGC3hsciV-dQhgFGS1K 📌Want to go through the code and read about them? Here's my blog post on Medium - https://medium.com/@avra42/streamlit-python-tips-how-to-avoid-your-app-from-rerunning-on-every-widget-click-cae99c5189eb 🐥 Stay connect with me over Twitter - https://twitter.com/Avra_b ☕️ Want to support and get membership access? https://www.buymeacoffee.com/AvraCodes 🔥 By becoming a patron, you'll get access to exclusive content, codes, or videos beforehand, one-to-one web app development / relevant discussion, live-chat with me on specific videos and other perks. ( FYI : Basic Tier is 50% cheaper than ChatGPT/monthly with benefits which an AI can't help with 😉 ): https://patreon.com/user?u=82100262&utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=creatorshare_creator&utm_content=join_link #streamlit #python #sessionstate #pythonprogramming #pythontutorial Feel free to drop your comments and ideas in the comment section. Ta-Da!