nickmuchi commited on
Commit
e3a147c
β€’
1 Parent(s): 4572bc8

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

Browse files
pages/3_Earnings_Semantic_Search_πŸ”Ž_.py CHANGED
@@ -84,6 +84,8 @@ try:
84
 
85
  earnings_text = ','.join(st.session_state['earnings_passages'])
86
 
 
 
87
  st.session_state.eval_set = generate_eval(
88
  earnings_text, 10, 3000)
89
 
@@ -105,7 +107,8 @@ try:
105
  with st.spinner(
106
  text=f"Loading {embedding_model} embedding model and Generating Response..."
107
  ):
108
-
 
109
  docsearch = process_corpus(st.session_state['earnings_passages'],title, embedding_model)
110
 
111
  result = embed_text(search_input,docsearch)
 
84
 
85
  earnings_text = ','.join(st.session_state['earnings_passages'])
86
 
87
+ print(f'earnings_to_be_embedded:{earnings_text}')
88
+
89
  st.session_state.eval_set = generate_eval(
90
  earnings_text, 10, 3000)
91
 
 
107
  with st.spinner(
108
  text=f"Loading {embedding_model} embedding model and Generating Response..."
109
  ):
110
+ print('cheeky')
111
+ print(st.session_state['earnings_passages'])
112
  docsearch = process_corpus(st.session_state['earnings_passages'],title, embedding_model)
113
 
114
  result = embed_text(search_input,docsearch)