Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
ec35ebe
1
Parent(s):
ad0def3
Update projections file loading to use session state variable for improved consistency and reliability
Browse files
app.py
CHANGED
|
@@ -970,7 +970,7 @@ if selected_tab == 'Data Load':
|
|
| 970 |
)
|
| 971 |
|
| 972 |
if st.session_state['projections_loaded']:
|
| 973 |
-
export_projections, projections = load_file(
|
| 974 |
if projections is not None:
|
| 975 |
st.success('Projections file loaded successfully!')
|
| 976 |
|
|
|
|
| 970 |
)
|
| 971 |
|
| 972 |
if st.session_state['projections_loaded']:
|
| 973 |
+
export_projections, projections = load_file(st.session_state['db_projections_file'], site_var, type_var, sport_var, 'projections')
|
| 974 |
if projections is not None:
|
| 975 |
st.success('Projections file loaded successfully!')
|
| 976 |
|