Update pages/type_text.py
Browse files- pages/type_text.py +14 -14
pages/type_text.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
-
from streamlit_navigation_bar import st_navbar
|
3 |
import pandas as pd
|
4 |
from io import StringIO
|
5 |
import json
|
@@ -10,19 +10,19 @@ import time
|
|
10 |
import os
|
11 |
os.getenv("HF_TOKEN")
|
12 |
|
13 |
-
page = st_navbar(pages=["SBS V2.0 mapper"],selected="SBS V2.0 mapper", key="type_text_page_navbar")
|
14 |
-
st.write(page)
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
|
27 |
st.header("Map internal descriptions to SBS codes with Sentence Transformer + Reasoning Models")
|
28 |
st.subheader("Select specific Chapter for quicker results")
|
|
|
1 |
import streamlit as st
|
2 |
+
#from streamlit_navigation_bar import st_navbar
|
3 |
import pandas as pd
|
4 |
from io import StringIO
|
5 |
import json
|
|
|
10 |
import os
|
11 |
os.getenv("HF_TOKEN")
|
12 |
|
13 |
+
#page = st_navbar(pages=["SBS V2.0 mapper"],selected="SBS V2.0 mapper", key="type_text_page_navbar")
|
14 |
+
#st.write(page)
|
15 |
+
|
16 |
+
hide_streamlit_style = """
|
17 |
+
<style>
|
18 |
+
div[data-testid="stStatusWidget"] {
|
19 |
+
visibility: visible;
|
20 |
+
position: sticky;
|
21 |
+
top: 0
|
22 |
+
}
|
23 |
+
</style>
|
24 |
+
"""
|
25 |
+
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
26 |
|
27 |
st.header("Map internal descriptions to SBS codes with Sentence Transformer + Reasoning Models")
|
28 |
st.subheader("Select specific Chapter for quicker results")
|