nickmuchi commited on
Commit
8eb51fc
β€’
1 Parent(s): 7c3459e

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"]) or st.session_state["earnings_passages"]:
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