in strealit version 1.38, the following code is not valid to hide deploy button,
st.markdown(
r"“”
.stDeployButton {
visibility: hidden;
}
“”", unsafe_allow_html=True
)
Hello, the css code of the button change. You can check it : right click, inspect. it’s now "stAppDeployButton
st.markdown(
r"""
<style>
.stAppDeployButton {
visibility: hidden;
}
</style>
""", unsafe_allow_html=True
)
It’s OK. Thanks a lot!