nickmuchi commited on
Commit
85bdaf5
β€’
1 Parent(s): 0ee4a6b

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

Browse files
pages/3_Earnings_Semantic_Search_πŸ”Ž_.py CHANGED
@@ -55,8 +55,7 @@ try:
55
 
56
  docsearch = process_corpus(st.session_state['earnings_passages'],_emb_tok,title, embedding_model)
57
 
58
- result = embed_text(search_input,st.session_state['earnings_passages'],title,
59
- bi_enc_dict[sbert_model_name],emb_tokenizer,docsearch,chain_type)
60
 
61
 
62
  references = [doc.page_content for doc in result['input_documents']]
 
55
 
56
  docsearch = process_corpus(st.session_state['earnings_passages'],_emb_tok,title, embedding_model)
57
 
58
+ result = embed_text(search_input,title,bi_enc_dict[sbert_model_name],emb_tokenizer,docsearch,chain_type)
 
59
 
60
 
61
  references = [doc.page_content for doc in result['input_documents']]