Almaatla commited on
Commit
8eb1b1a
·
verified ·
1 Parent(s): 6f36c25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import langchain
2
  #from langchain.embeddings import SentenceTransformerEmbeddings
3
- from langchain_community.embeddings import HuggingFaceEmbeddings
 
4
  from langchain_community.document_loaders import UnstructuredPDFLoader,UnstructuredWordDocumentLoader
5
  from langchain.indexes import VectorstoreIndexCreator
6
  from langchain_community.vectorstores import FAISS
 
1
  import langchain
2
  #from langchain.embeddings import SentenceTransformerEmbeddings
3
+ #from langchain_community.embeddings import HuggingFaceEmbeddings
4
+ from langchain_huggingface import HuggingFaceEmbeddings
5
  from langchain_community.document_loaders import UnstructuredPDFLoader,UnstructuredWordDocumentLoader
6
  from langchain.indexes import VectorstoreIndexCreator
7
  from langchain_community.vectorstores import FAISS