M2P2 / app.py
Azrieldr
initial commit
36d49ad
raw
history blame
No virus
385 Bytes
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()