nickmuchi commited on
Commit
5e8de33
Β·
1 Parent(s): 7004c0a

Update pages/3_Earnings_Semantic_Search_πŸ”Ž_.py

Browse files
pages/3_Earnings_Semantic_Search_πŸ”Ž_.py CHANGED
@@ -18,7 +18,7 @@ if "sen_df" not in st.session_state:
18
  if "earnings_passages" not in st.session_state:
19
  st.session_state["earnings_passages"] = ''
20
 
21
- if st.session_state["sen_df"] or st.session_state["earnings_passages"]:
22
 
23
  ## Save to a dataframe for ease of visualization
24
  sen_df = st.session_state['sen_df']
 
18
  if "earnings_passages" not in st.session_state:
19
  st.session_state["earnings_passages"] = ''
20
 
21
+ if any(st.session_state["sen_df"]) or st.session_state["earnings_passages"]:
22
 
23
  ## Save to a dataframe for ease of visualization
24
  sen_df = st.session_state['sen_df']