georad commited on
Commit
5513c38
·
verified ·
1 Parent(s): 8b9138a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -54,6 +54,20 @@ custom_css = f"""
54
  # Inject CSS as early as possible in your app
55
  st.markdown(custom_css, unsafe_allow_html=True)
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  # --- Your Streamlit App ---
58
  #st.logo(image="images/menu_book_60dp_75FBFD.png")
59
  st.title("Map descriptions to SBS codes with Sentence Transformer + Reasoning")
 
54
  # Inject CSS as early as possible in your app
55
  st.markdown(custom_css, unsafe_allow_html=True)
56
 
57
+
58
+ # --- Header Content (in stHeader) ---
59
+ # Place your header content inside a container
60
+ header_container = st.container()
61
+ with header_container:
62
+ # Inject a custom div to help target this container with CSS
63
+ st.markdown("<div class='sticky-header'></div>", unsafe_allow_html=True)
64
+
65
+ # Your actual header content goes here
66
+ st.title("My Sticky Header")
67
+ st.write("This header will stay visible when you scroll.")
68
+
69
+
70
+
71
  # --- Your Streamlit App ---
72
  #st.logo(image="images/menu_book_60dp_75FBFD.png")
73
  st.title("Map descriptions to SBS codes with Sentence Transformer + Reasoning")