Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from langchain_community.document_loaders import PDFPlumberLoader
|
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
6 |
from langchain_core.vectorstores import InMemoryVectorStore
|
7 |
from langchain_core.prompts import ChatPromptTemplate
|
8 |
-
from langchain.embeddings import
|
9 |
|
10 |
|
11 |
# Set up Hugging Face model and token
|
|
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
6 |
from langchain_core.vectorstores import InMemoryVectorStore
|
7 |
from langchain_core.prompts import ChatPromptTemplate
|
8 |
+
from langchain.embeddings import HuggingFaceEmbeddings
|
9 |
|
10 |
|
11 |
# Set up Hugging Face model and token
|