From the screenshots youβve shared, it looks like your app is structured correctly What version of Streamlit is it using? You can check via streamlit version in the terminal or st.write(st.__version__) in main_page.py.
Support for multipage apps was added in version 1.10.0, so Iβd start by confirming the version is >=1.10.0.
Yeah the issue was with the version. I installed streamlit using conda, seems like conda has support only upto version 1.9.0 as of now. I reinstalled it using pip, thanks.
Ah I see, I checked, there was some issues with one of the libraries during installation hence it installed version 1.9.0 for me. I checked and installed back to 1.19.0. Thanks for the heads up.