File size: 876 Bytes
f824176 9b54e61 f824176 1cd1a19 4c05324 9190fc9 6417ba1 eecd64a 122a897 b11f4f1 eecd64a b11f4f1 f93ba69 7b883db f4ae373 f824176 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import streamlit as st
# --- PAGE SETUP ---
type_text_page = st.Page(
page="pages/type_text.py",
title="DEMO (work in progress)",
icon=":material/keyboard:",
default=True,)
# --- App captions ---
st.logo(image="images/menu_book_60dp_75FBFD.png")
#st.title("Map descriptions to SBS codes with Sentence Transformer + Reasoning")
#st.title("Select specific Chapter (quicker)")
st.sidebar.header("SBS V2.0 mapper")
st.sidebar.subheader("Map descriptions to SBS codes with Sentence Transformer + Reasoning")
st.sidebar.text("Select specific Chapter for quicker results")
st.sidebar.text("Demo by JA-RAD (work in progress)")
# --- NAVIGATION SETUP ---
pg = st.navigation(pages=[type_text_page]) # WITHOUT SECTIONS
##pg = st.navigation({"Chapter_Index": [start_page], "Demo": [type_text_page, upload_file_page], "About": [about_page]}) # WITH SECTIONS
pg.run()
|