If you’re building a custom chatbot with Streamlit, you might want to remove the “Made with Streamlit” footer. Here’s what I’ve tried so far:
- Using Custom CSS:
I added this CSS to hide the footer:
hide_streamlit_styles = """
<style>
footer {visibility: hidden;}
</style>
"""
st.markdown(hide_streamlit_styles, unsafe_allow_html=True)
This works for most apps, but it doesn’t fully remove the footer in interactive elements like chatbots.
- Source Code Modification:
Changes have been made to Streamlit source code to remove the footers (see below). However, the footer still shows up in some cases, particularly I think with chatbots. The logic for this is embedded in Streamlit’s GitHub code for Streamlit Dialog apps.
- 2023 Release Notes:
Streamlit’s 2023 release notes claimed that the footer would no longer appear by default:
The “Made with Streamlit” footer no longer appears at the bottom of apps (#7583).
But this doesn’t always work for chatbots or interactive apps.
Conclusion
While hiding the footer via custom CSS works for static apps, it still persists in interactive elements like chatbots. The footer logic hasn’t been fully resolved in certain use cases, and more updates may be needed to address it?