| import streamlit as st | |
| st.set_page_config( | |
| page_title="Entity Sentiment Classification", | |
| layout="centered", | |
| initial_sidebar_state="collapsed", | |
| ) | |
| st.markdown( | |
| """ | |
| <style> | |
| [data-testid="collapsedControl"] { display: none; } | |
| </style> | |
| """, | |
| unsafe_allow_html=True, | |
| ) | |
| home = st.Page("pages/welcome.py", title="Welcome", default=True) | |
| config = st.Page("pages/config.py", title="Configuration") | |
| result = st.Page("pages/result.py", title="Results") | |
| pg = st.navigation([home, config, result], position="hidden") | |
| pg.run() | |