Spaces:
Build error
Build error
Ronio Jerico Roque
Feat: Added Website traffic, social media, and website performance category on the UI
13e4835 Download helper/button_behaviour.py from roniorque/df_ai_int: direct link, hf CLI and curl.
- Browser
- Download file 559 Bytes
-
https://huggingface.co/spaces/roniorque/df_ai_int/resolve/main/helper/button_behaviour.py
- Command line
-
hf download hf://spaces/roniorque/df_ai_int/helper/button_behaviour.py
-
curl -L -o button_behaviour.py https://huggingface.co/spaces/roniorque/df_ai_int/resolve/main/helper/button_behaviour.py
559 Bytes
| import streamlit as st | |
| def hide_button(): | |
| st.markdown( | |
| """ | |
| <style> | |
| .element-container:nth-of-type(5) button { | |
| display: none; | |
| } | |
| </style> | |
| """, | |
| unsafe_allow_html=True, | |
| ) | |
| def unhide_button(): | |
| st.markdown( | |
| """ | |
| <style> | |
| element-container:nth-of-type(5) button { | |
| display: inline; | |
| } | |
| </style> | |
| """, | |
| unsafe_allow_html=True, | |
| ) |