arsentievalex / streamlit-dynamic-filters

Custom component with dynamic multiselect filters for Streamlit
MIT License
68 stars 12 forks source link

Hide filters on one page in multi-page app #5

Closed johanneswerner closed 10 months ago

johanneswerner commented 10 months ago

Is it possible to hide the sidebar on one page of a multipage app? I would like to not show the filters on the entry page of my app.

This seems to be done in your app: https://dynamic-filters-demo.streamlit.app/

Thank you!

arsentievalex commented 10 months ago

Hi @johanneswerner if I understand your question correctly, you can just add the st.sidebar() to the second page of your app, since each page is a separate .py file. I believe the Streamlit forum will be a better place for such questions. Thanks!