File size: 1,958 Bytes
5b4f9cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Read
import streamlit as st
import sys,os


sys.path.append(f'{os.getcwd()}/utils')
from utils.data_users import get_product_dev_page_layout,get_product_manager_page_layout,get_product_practitioner_page_layout


print(os.getcwd())
# st.write(st.session_state.user_group)
USER_GROUPS = ["Developer", "Manager", "Practitioner"]

st.set_page_config(layout="wide")

if 'user_group' not in st.session_state:
    index_tmp = 0
else: 
    index_tmp = USER_GROUPS.index(st.session_state['user_group'])

#Sidebar for USER GROUPS
st.sidebar.title("USER GROUPS")
backend = st.sidebar.selectbox(
            "Select User-Group ", USER_GROUPS, index=index_tmp
        )

st.session_state['user_group'] = backend

# #     with st.sidebar:
# st.sidebar.title("🎈Explore Data Panel")

st.title("Data Panel for OCT Image Analysis")

st.write(
        """
        ##
        To gain a comprehensive understanding of the AI system, examining the data has a crucial role. The Data Panel adopts a data-centric approach, providing detailed information about the following aspects of the data:
        """)


list_test = """<ul>
                <li>Data Source Information contains information related to the modality, format, domain, ethical considerations, including licensing and data version. </li>
                <li>Exploratory Data Stats presents exploratory data analysis information covering train/validation/test data division, summary statistics, and sample visualization from each category. </li>
                <li>Data Onboarding provides information about the data pre-processing and post-processing steps applied to the dataset before training, as well as any data augmentations that were used.</li>
 </ul>"""
st.markdown(list_test, unsafe_allow_html=True)


if backend == "Developer":
    get_product_dev_page_layout()


if backend == "Manager":
    get_product_manager_page_layout()

if backend == "Practitioner":
    get_product_practitioner_page_layout()