James McCool commited on
Commit
9750e5c
·
1 Parent(s): d7f7a9c

Remove initial setting of Contest_file to False in app.py for database search option. This change streamlines the file upload process and enhances user experience when selecting contest data.

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -61,7 +61,6 @@ with tab1:
61
  st.info("Go ahead and upload a Contest file here. Only include player columns and an optional 'Stack' column if you are playing MLB.")
62
  if parse_type == 'DB Search':
63
  contest_name_var = st.selectbox("Select Contest to load", contest_names)
64
- Contest_file = False
65
  elif parse_type == 'Manual':
66
  Contest_file = st.file_uploader("Upload Contest File (CSV or Excel)", type=['csv', 'xlsx', 'xls'])
67
  if 'Contest' in st.session_state:
 
61
  st.info("Go ahead and upload a Contest file here. Only include player columns and an optional 'Stack' column if you are playing MLB.")
62
  if parse_type == 'DB Search':
63
  contest_name_var = st.selectbox("Select Contest to load", contest_names)
 
64
  elif parse_type == 'Manual':
65
  Contest_file = st.file_uploader("Upload Contest File (CSV or Excel)", type=['csv', 'xlsx', 'xls'])
66
  if 'Contest' in st.session_state: