Spaces:
Build error
Build error
Download helper/sync_button.py from roniorque/df_ai_int: direct link, hf CLI and curl.
- Browser
- Download file 569 Bytes
-
https://huggingface.co/spaces/roniorque/df_ai_int/resolve/main/helper/sync_button.py
- Command line
-
hf download hf://spaces/roniorque/df_ai_int/helper/sync_button.py
-
curl -L -o sync_button.py https://huggingface.co/spaces/roniorque/df_ai_int/resolve/main/helper/sync_button.py
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, | |
| ) |