Multi-page app with session state

I tried to set the page config but an error came out stated that I can only call it once. I suspect itโ€™s probably due to how multiple app structure calling it. Is there any hack around this? @okld

StreamlitAPIException : set_page_config() can only be called once per app, and must be called as the first Streamlit command in your script.