File size: 439 Bytes
36d49ad
 
d656030
36d49ad
 
 
 
 
 
 
d656030
36d49ad
 
 
 
 
 
 
d656030
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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()