import streamlit as st # Helper function to init session states def init_sess_state(sess_state_name, init_val): if sess_state_name not in st.session_state: st.session_state[sess_state_name] = init_val return sess_state_name
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter