nickmuchi commited on
Commit
7b09818
Β·
1 Parent(s): e3a147c

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

Browse files
pages/3_Earnings_Semantic_Search_πŸ”Ž_.py CHANGED
@@ -82,7 +82,7 @@ try:
82
 
83
  title = st.session_state['title']
84
 
85
- earnings_text = ','.join(st.session_state['earnings_passages'])
86
 
87
  print(f'earnings_to_be_embedded:{earnings_text}')
88
 
@@ -108,8 +108,8 @@ try:
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)
115
 
 
82
 
83
  title = st.session_state['title']
84
 
85
+ earnings_text = st.session_state['earnings_passages']
86
 
87
  print(f'earnings_to_be_embedded:{earnings_text}')
88
 
 
108
  text=f"Loading {embedding_model} embedding model and Generating Response..."
109
  ):
110
  print('cheeky')
111
+ print(earnings_text)
112
+ docsearch = process_corpus(earnings_text,title, embedding_model)
113
 
114
  result = embed_text(search_input,docsearch)
115