How to disable pages in streamlit

Hi All,
Prior to version 1.5.0, I have been using streamlit to build a multiple page application and it worked well. Most recently I update Streamlit to 1.11 to use the new dataframe features. Unfortunately, the “pages” introduced in versin 1.10 ruined all my layout.
Can anyone told me how to disable the “pages”? I don’t want them to show up in the sidebar.

The following is how I handle the multiple page in version 1.5.0

  1. In entry file (, I use a selector to class methods defined other files. This is my first level menu.
  2. In other file, I use multiple tabs to invoke the second level menu

Problems when I update to 1.11.0

  1. The and will show up on the top of the sidebar (as app, and init)
  2. How to make these two items invisible?

Thank you very much for your help.