nickmuchi commited on
Commit
cffcba4
β€’
1 Parent(s): 3e9b436

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

Browse files
pages/3_Earnings_Semantic_Search_πŸ”Ž_.py CHANGED
@@ -55,9 +55,9 @@ try:
55
  text=f"Loading {embedding_model} embedding model and Generating Response..."
56
  ):
57
 
58
- docsearch = process_corpus(st.session_state['earnings_passages'],emb_tokenizer,title, embedding_model)
59
 
60
- result = embed_text(search_input,title,embedding_model,emb_tokenizer,docsearch,chain_type)
61
 
62
 
63
  references = [doc.page_content for doc in result['input_documents']]
 
55
  text=f"Loading {embedding_model} embedding model and Generating Response..."
56
  ):
57
 
58
+ docsearch = process_corpus(st.session_state['earnings_passages'],title, embedding_model)
59
 
60
+ result = embed_text(search_input,title,embedding_model,docsearch,chain_type)
61
 
62
 
63
  references = [doc.page_content for doc in result['input_documents']]