M2P2 / app.py
Azrieldr's picture
add eda on app
d656030
import streamlit as st
from Prediction import app as prediction_app
from EDA import run_eda as eda_app
# Define the Streamlit app
st.set_page_config(page_title='Image Classifier', page_icon='πŸ”')
PAGES = {
'Prediction': prediction_app,
'EDA': eda_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()