SiangKai commited on
Commit
5d58bd5
·
verified ·
1 Parent(s): 79cbe00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,7 +29,8 @@ from langchain_community.embeddings import HuggingFaceEmbeddings
29
  from sentence_transformers import SentenceTransformer
30
  # from langchain.retrievers import BM25Retriever
31
  from langchain_community.retrievers import BM25Retriever
32
- from langchain.schema import Document
 
33
  from langchain_core.tools import tool
34
 
35
  # =======================================================================
 
29
  from sentence_transformers import SentenceTransformer
30
  # from langchain.retrievers import BM25Retriever
31
  from langchain_community.retrievers import BM25Retriever
32
+ # from langchain.schema import Document
33
+ from langchain_core.schema import Document
34
  from langchain_core.tools import tool
35
 
36
  # =======================================================================