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(
|
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)
|