Daveabc12 commited on
Commit
948ea78
·
verified ·
1 Parent(s): ed312bf

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4668,7 +4668,8 @@ def main():
4668
  st.dataframe(display_df_conf.style.format(valid_conf_formatters, na_rep='-'))
4669
 
4670
  # 12. Display Single Ticker Results
4671
- elif st.session_state.get('single_ticker_results') is not None:
 
4672
  res = st.session_state.single_ticker_results
4673
  st.subheader(f"Results for {st.session_state.get('ticker_select')}")
4674
  c1, c2, c3, c4 = st.columns(4)
 
4668
  st.dataframe(display_df_conf.style.format(valid_conf_formatters, na_rep='-'))
4669
 
4670
  # 12. Display Single Ticker Results
4671
+ # [FIX] Changed 'elif' to 'if' so this block runs immediately after analysis
4672
+ if st.session_state.get('single_ticker_results') is not None:
4673
  res = st.session_state.single_ticker_results
4674
  st.subheader(f"Results for {st.session_state.get('ticker_select')}")
4675
  c1, c2, c3, c4 = st.columns(4)