James McCool
commited on
Commit
·
624ddbc
1
Parent(s):
1d9fb5a
Update selection options in app.py to improve user experience
Browse files- Changed the order of options in the 'Manual upload or DB search?' selectbox for better clarity.
- Expanded the 'Select Sport' options to include 'CS2', 'NBA', and 'NFL', providing users with more choices for their selections.
app.py
CHANGED
@@ -81,9 +81,9 @@ with tab1:
|
|
81 |
st.session_state.clear()
|
82 |
search_options, sport_options, date_options = st.columns(3)
|
83 |
with search_options:
|
84 |
-
parse_type = st.selectbox("Manual upload or DB search?", ['
|
85 |
with sport_options:
|
86 |
-
sport_select = st.selectbox("Select Sport", ['MLB', 'MMA', 'GOLF'], key='sport_select')
|
87 |
type_var = st.selectbox("Select Game Type", ['Classic', 'Showdown'], key='type_var')
|
88 |
contest_names, curr_info = grab_contest_names(db, sport_select, type_var)
|
89 |
|
|
|
81 |
st.session_state.clear()
|
82 |
search_options, sport_options, date_options = st.columns(3)
|
83 |
with search_options:
|
84 |
+
parse_type = st.selectbox("Manual upload or DB search?", ['Manual', 'DB Search'], key='parse_type')
|
85 |
with sport_options:
|
86 |
+
sport_select = st.selectbox("Select Sport", ['MLB', 'MMA', 'GOLF', 'CS2', 'NBA', 'NFL'], key='sport_select')
|
87 |
type_var = st.selectbox("Select Game Type", ['Classic', 'Showdown'], key='type_var')
|
88 |
contest_names, curr_info = grab_contest_names(db, sport_select, type_var)
|
89 |
|