df_ai_int / helper /sync_button.py
Ronio Jerico Roque
Enhance social media analysis process and add sync button functionality
53787bb
raw
history blame contribute delete
569 Bytes
import streamlit as st
def hide_sync_button():
st.markdown(
"""
<style>
.element-container:nth-of-type(1) button {
display: none;
}
</style>
""",
unsafe_allow_html=True,
)
def unhide_sync_button():
st.markdown(
"""
<style>
element-container:nth-of-type(1) button {
display: inline;
}
</style>
""",
unsafe_allow_html=True,
)