James McCool
commited on
Commit
·
e8c6244
1
Parent(s):
9ac0434
db_projections didn't exist
Browse files
app.py
CHANGED
|
@@ -1028,6 +1028,7 @@ if selected_tab == 'Data Load':
|
|
| 1028 |
st.session_state['projections_loaded'] = False
|
| 1029 |
if proj_options == 'User Upload':
|
| 1030 |
projections_file = st.file_uploader("Upload Projections File (CSV or Excel)", type=['csv', 'xlsx', 'xls'])
|
|
|
|
| 1031 |
st.session_state['projections_loaded'] = True
|
| 1032 |
elif proj_options == 'Paydirt DB':
|
| 1033 |
if st.button("Load from Database"):
|
|
|
|
| 1028 |
st.session_state['projections_loaded'] = False
|
| 1029 |
if proj_options == 'User Upload':
|
| 1030 |
projections_file = st.file_uploader("Upload Projections File (CSV or Excel)", type=['csv', 'xlsx', 'xls'])
|
| 1031 |
+
st.session_state['db_projections_file'] = projections_file
|
| 1032 |
st.session_state['projections_loaded'] = True
|
| 1033 |
elif proj_options == 'Paydirt DB':
|
| 1034 |
if st.button("Load from Database"):
|