df_ai_int / helper /upload_button.py
Ronio Jerico Roque
Add client summary functionality and update button behavior in home page
fc7ba35
raw
history blame contribute delete
559 Bytes
import streamlit as st
def hide_button():
st.markdown(
"""
<style>
.element-container:nth-of-type(2) button {
display: none;
}
</style>
""",
unsafe_allow_html=True,
)
def unhide_button():
st.markdown(
"""
<style>
element-container:nth-of-type(2) button {
display: inline;
}
</style>
""",
unsafe_allow_html=True,
)