|
import streamlit as st |
|
|
|
|
|
|
|
st.logo("images/medical_information_24dp_1F1F1F_FILL0_wght400_GRAD0_opsz24.png") |
|
st.sidebar.text("Project by JA-RAD") |
|
st.sidebar.title("Navigation") |
|
|
|
|
|
home_page = st.Page( |
|
page="pages/home.py", |
|
title="Home", |
|
icon=":material/home:", |
|
default=True,) |
|
|
|
type_text_page = st.Page( |
|
page="pages/type_text.py", |
|
title="DEMO type text", |
|
icon=":material/keyboard:", |
|
default=False,) |
|
|
|
upload_file_page = st.Page( |
|
page="pages/upload_file.py", |
|
title="DEMO upload file (not yet active)", |
|
icon=":material/file_upload:", |
|
default=False,) |
|
|
|
about_page = st.Page( |
|
page="pages/about.py", |
|
title="About the app", |
|
icon=":material/info:", |
|
default=False) |
|
|
|
PAGES = { |
|
"Home": "pages/home.py" , |
|
"DEMO type_text": "pages/type_text.py", |
|
"DEMO upload file (not yet active)": "pages/upload_file.py", |
|
"About": "pages/about.py", |
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
selection = st.sidebar.radio("Pages", list(PAGES.keys())) |
|
page = PAGES[selection] |
|
|
|
|
|
|
|
|
|
|
|
|