nickmuchi commited on
Commit
99f9ce8
β€’
1 Parent(s): bd2714d

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

Browse files
pages/3_Earnings_Semantic_Search_πŸ”Ž_.py CHANGED
@@ -53,7 +53,7 @@ try:
53
  text=f"Loading {bi_enc_dict[sbert_model_name]} embedding model and Generating Response..."
54
  ):
55
 
56
- docsearch = process_corpus(corpus,_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)
 
53
  text=f"Loading {bi_enc_dict[sbert_model_name]} embedding model and Generating Response..."
54
  ):
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)