James McCool commited on
Commit
d806cb7
·
1 Parent(s): 44d5cc1

Fix display options in Streamlit app by correcting the syntax for the radio button options. This change improves user interaction by ensuring the options are displayed correctly.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -29,7 +29,7 @@ def init_baselines():
29
  hr_frame = init_baselines()
30
  st.title("HR Finder Table")
31
 
32
- disp_options = st.radio("Display options:" ['Exclude DFS Info', 'Include DFS Info'], key='display_options')
33
  if disp_options == 'Exclude DFS Info':
34
  disp_frame = hr_frame.drop(columns=['Salary', 'Position', 'FD_Position', 'Order'])
35
  else:
 
29
  hr_frame = init_baselines()
30
  st.title("HR Finder Table")
31
 
32
+ disp_options = st.radio("Display options:", options = ['Exclude DFS Info', 'Include DFS Info'], key='display_options')
33
  if disp_options == 'Exclude DFS Info':
34
  disp_frame = hr_frame.drop(columns=['Salary', 'Position', 'FD_Position', 'Order'])
35
  else: