import streamlit as st x = 1 if st.button("Increment x"): x=x+1 st.text(x). 最佳答案. 每次进行更改/交互时,Streamlit 都会重新运行网页脚本。
確定! 回上一頁