Update pages/3_Earnings_Semantic_Search_π_.py
Browse files
pages/3_Earnings_Semantic_Search_π_.py
CHANGED
@@ -20,7 +20,7 @@ if "earnings_passages" not in st.session_state:
|
|
20 |
|
21 |
if search_input is not None:
|
22 |
|
23 |
-
if any(st.session_state["sen_df"])
|
24 |
|
25 |
## Save to a dataframe for ease of visualization
|
26 |
sen_df = st.session_state['sen_df']
|
@@ -78,4 +78,8 @@ if search_input is not None:
|
|
78 |
else:
|
79 |
|
80 |
st.write('Please ensure you have entered the YouTube URL or uploaded the Earnings Call file')
|
|
|
|
|
|
|
|
|
81 |
|
|
|
20 |
|
21 |
if search_input is not None:
|
22 |
|
23 |
+
if any(st.session_state["sen_df"]) is not None and st.session_state["earnings_passages"] is not None:
|
24 |
|
25 |
## Save to a dataframe for ease of visualization
|
26 |
sen_df = st.session_state['sen_df']
|
|
|
78 |
else:
|
79 |
|
80 |
st.write('Please ensure you have entered the YouTube URL or uploaded the Earnings Call file')
|
81 |
+
else:
|
82 |
+
|
83 |
+
st.write('Please ensure you have entered the YouTube URL or uploaded the Earnings Call file')
|
84 |
+
|
85 |
|