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']
|