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