File size: 780 Bytes
4f00baf
b0d654a
ffcc5cf
 
4f00baf
ffcc5cf
176b5a0
 
 
64ae0b8
ffcc5cf
 
 
176b5a0
4f00baf
ffcc5cf
 
4f00baf
176b5a0
6ae2d76
ffcc5cf
 
 
 
4f00baf
ffcc5cf
176b5a0
 
ffcc5cf
176b5a0
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import awesome_streamlit as ast
import streamlit as st
import home
import pos_tagger

st.set_page_config(page_title="Hamshetsnag POS Tagger",
        page_icon="📚",
        layout='wide'
    )

PAGES = {
        "Home": home,
        "POS Tagging": pos_tagger,
    }

st.sidebar.title("Navigation")
selection = st.sidebar.radio("Pages", list(PAGES.keys()))

    # Load and display the selected page
page = PAGES[selection]
    # with st.spinner(f"Loading {selection} ..."):
ast.shared.components.write_page(page)

st.sidebar.header("Info")

st.sidebar.write(
        "Models available on [HF Hub](https://huggingface.co/onurkeles/hamshetsnag-pos-tagger)"
    )
st.sidebar.write(
        "Model source code will be soon available on [GitHub](https://github.com/kelesonur)"
    )