Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from langchain.document_loaders import PyPDFLoader # For loading and reading PD
|
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter # For splitting large texts into smaller chunks.
|
6 |
from langchain.vectorstores import Chroma # Vector storage system for embeddings.
|
7 |
from langchain.llms import CTransformers # For loading transformer models.
|
8 |
-
from InstructorEmbedding import INSTRUCTOR # Not clear without context, possibly a custom embedding.
|
9 |
from langchain.embeddings import HuggingFaceInstructEmbeddings # Embeddings from HuggingFace models with instructions.
|
10 |
from langchain.embeddings import HuggingFaceEmbeddings # General embeddings from HuggingFace models.
|
11 |
from langchain.embeddings import LlamaCppEmbeddings # Embeddings using the Llama model.
|
|
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter # For splitting large texts into smaller chunks.
|
6 |
from langchain.vectorstores import Chroma # Vector storage system for embeddings.
|
7 |
from langchain.llms import CTransformers # For loading transformer models.
|
8 |
+
# from InstructorEmbedding import INSTRUCTOR # Not clear without context, possibly a custom embedding.
|
9 |
from langchain.embeddings import HuggingFaceInstructEmbeddings # Embeddings from HuggingFace models with instructions.
|
10 |
from langchain.embeddings import HuggingFaceEmbeddings # General embeddings from HuggingFace models.
|
11 |
from langchain.embeddings import LlamaCppEmbeddings # Embeddings using the Llama model.
|