Hi! It seems that my Streamlit script keeps resetting its state when deployed on a Kubernetes cluster, but performs as expected on my local machine. This demo script shows the problem:
import time
import streamlit as st
import pandas as pd
def render_dashboard(**_kwargs):
time.sleep(1)
value = st.number_input("Number")
st.write(value)
render_dashboard()
When I push the increase number button quickly Streamlit resets the state after some number of clicks (see the attached video). This does not affect the script when running locally.