File size: 285 Bytes
ab8b0ee
5bb140d
 
ab8b0ee
5bb140d
 
 
 
 
ab8b0ee
5bb140d
ab8b0ee
5bb140d
 
ab8b0ee
5bb140d
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import streamlit as st
import eda
import prediction

st.set_page_config(
    page_title='Safe or Unsafe',
    layout='wide',
    initial_sidebar_state='expanded'
)

page = st.sidebar.selectbox('Pages', ('EDA', 'Prediction'))

if page == 'EDA':
    eda.run()

else:
    prediction.run()