How to remove ‘Hosted with Streamlit’-red button on bottom right

from streamlit.components.v1 import html
    html('''
       <script>
        window.top.document.querySelectorAll(`[href*="streamlit.io"]`).forEach(e => e.setAttribute("style", "display: none;"));
      </script>
    ''')
1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.