import streamlit as st | |
from Prediction import app as prediction_app | |
# Define the Streamlit app | |
st.set_page_config(page_title='Image Classifier', page_icon='π') | |
PAGES = { | |
'Prediction': prediction_app, | |
} | |
st.sidebar.title('Navigation') | |
selection = st.sidebar.radio('Go to', list(PAGES.keys())) | |
# Display the selected page with the session state | |
page = PAGES[selection] | |
page() | |