File size: 731 Bytes
8da5944
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d8a4754
 
8da5944
 
 
 
 
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
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 10 21:53:15 2023

@author: sanmpaul
"""

from st_pages import Page, Section, add_page_title, show_pages

from st_pages import show_pages_from_config
# show_pages_from_config("pages_sections1.toml")
from st_pages import Page, Section, show_pages, add_page_title

# add_page_title() # By default this also adds indentation

# Specify what pages should be shown in the sidebar, and what their titles and icons
# should be
show_pages(
    [
        #Page("upload_file.py", "File Upload", "🏠"),
        Page('https://tecoholic.github.io/ner-annotator/', 'NER Annotator'),
        # Unless you explicitly say in_section=False
        Page("text_input.py", "Text Input", "🏠")
    ]
)