Update pages/3_Earnings_Semantic_Search_π_.py
Browse files
pages/3_Earnings_Semantic_Search_π_.py
CHANGED
@@ -29,7 +29,7 @@ try:
|
|
29 |
## Save to a dataframe for ease of visualization
|
30 |
sen_df = st.session_state['sen_df']
|
31 |
|
32 |
-
passages =
|
33 |
|
34 |
with st.spinner(
|
35 |
text=f"Loading {sbert_model_name} encoder..."
|
|
|
29 |
## Save to a dataframe for ease of visualization
|
30 |
sen_df = st.session_state['sen_df']
|
31 |
|
32 |
+
passages = chunk_long_text(st.session_state['earnings_passages'],150,window_size=window_size)
|
33 |
|
34 |
with st.spinner(
|
35 |
text=f"Loading {sbert_model_name} encoder..."
|