James McCool commited on
Commit
04a6de6
·
1 Parent(s): e87d9b7

Update Streamlit app to set page configuration at the beginning of the file for improved layout management. This change ensures consistent application of layout settings across the app.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -5,12 +5,12 @@ import pymongo
5
  import re
6
  import os
7
 
 
 
8
  print(f"Streamlit version: {st.__version__}")
9
 
10
  maintained_keys = ['tab_selector', 'site_selectbox', 'view_selectbox']
11
 
12
- st.set_page_config(layout="wide")
13
-
14
  @st.cache_resource
15
  def init_conn():
16
  # Try to get from environment variable first, fall back to secrets
 
5
  import re
6
  import os
7
 
8
+ st.set_page_config(layout="wide")
9
+
10
  print(f"Streamlit version: {st.__version__}")
11
 
12
  maintained_keys = ['tab_selector', 'site_selectbox', 'view_selectbox']
13
 
 
 
14
  @st.cache_resource
15
  def init_conn():
16
  # Try to get from environment variable first, fall back to secrets