James McCool
commited on
Commit
·
4127d38
1
Parent(s):
5370c50
Refactor column layout and default selection in app.py
Browse files- Adjusted the layout of the options columns by reducing the number of columns from three to two for improved user interface clarity.
- Set the default selection for the parse type to 'Manual', streamlining the user experience during data input.
app.py
CHANGED
@@ -80,9 +80,8 @@ with tab1:
|
|
80 |
with col1:
|
81 |
if st.button('Clear data', key='reset1'):
|
82 |
st.session_state.clear()
|
83 |
-
|
84 |
-
|
85 |
-
parse_type = st.selectbox("Manual upload or DB search?", ['Manual', 'DB Search'], key='parse_type')
|
86 |
with sport_options:
|
87 |
sport_select = st.selectbox("Select Sport", ['MLB', 'MMA', 'GOLF', 'NBA', 'NHL'], key='sport_select')
|
88 |
type_var = st.selectbox("Select Game Type", ['Classic', 'Showdown'], key='type_var')
|
|
|
80 |
with col1:
|
81 |
if st.button('Clear data', key='reset1'):
|
82 |
st.session_state.clear()
|
83 |
+
sport_options, date_options = st.columns(2)
|
84 |
+
parse_type = 'Manual'
|
|
|
85 |
with sport_options:
|
86 |
sport_select = st.selectbox("Select Sport", ['MLB', 'MMA', 'GOLF', 'NBA', 'NHL'], key='sport_select')
|
87 |
type_var = st.selectbox("Select Game Type", ['Classic', 'Showdown'], key='type_var')
|