File size: 555 Bytes
61af0ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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()