📅  最后修改于: 2022-03-11 14:55:07.084000             🧑  作者: Mango
@st.cache(show_spinner=False)
def fetch_measures():
# do stuff
time.sleep(10)
def main():
with st.spinner(text="Fetching measures"):
measures = fetch_measures()
if __name__ == "__main__":
main()