Spaces:
Sleeping
Sleeping
| ''' | |
| Phase 2 Graded Challenge 1 | |
| Nama : Achmad Dhani | |
| Batch : HCK-009 | |
| Objective : Creating a main page of the webapps. | |
| ''' | |
| import streamlit as st | |
| import eda | |
| import model | |
| # navigating pages | |
| page = st.sidebar.selectbox(label='Select Page:', options=['Home Page', 'Exploration Data Analysis', 'Emotion Classification Model']) | |
| if page == 'Home Page': | |
| st.header('Home Page') | |
| st.write('') | |
| st.write('Phase 1 Milestone 2') | |
| st.write('Name : Achmad Dhani') | |
| st.write('Batch : HCK-009') | |
| st.markdown('Dataset: [Emotion Dataset](https://www.kaggle.com/datasets/abdallahwagih/emotion-dataset)') | |
| st.write('Objective :') | |
| st.write('') | |
| st.caption('Please pick the options in the Select Page Box located on the left of the screen to start!') | |
| st.write('') | |
| st.write('') | |
| #============================= Background Info ========================== | |
| with st.expander("Background Information"): | |
| st.caption('') | |
| #============================= Work Flow ================================ | |
| with st.expander("Work Flow"): | |
| st.caption( | |
| ''' | |
| ''' | |
| ) | |
| #============================= Conclussion ================================= | |
| with st.expander("Conclusion"): # conclusion | |
| st.caption( | |
| ''' | |
| ''' | |
| ) | |
| #============================ Other Page ====================================== | |
| elif page == 'Exploration Data Analysis': | |
| eda.run() | |
| else: | |
| model.run() | |