import streamlit as st
chatbot = st.Page(“Asti_AI.py”, title = “Chatbot”, default= True)
admin = st.Page(“Admin.py”, title= “Admin”, url_path= ‘/admin123’)
pg= st.navigation(pages= [chatbot, admin], position = ‘hidden’)
pg.run()
This is the code for the app.py and now i want to access the admin page by typing the URL localhost:8501/admin123 explicitly in the address bar but when I do it, it never connects to the admin page.
Note: Asti_Ai.py and Admin.py contain codes for two different pages, there is no problem in calling the default page.