Spaces:
Running
Running
Neurolingua
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from langchain.prompts import ChatPromptTemplate
|
|
11 |
from langchain_community.llms.ollama import Ollama
|
12 |
from get_embedding_function import get_embedding_function
|
13 |
from langchain.document_loaders.pdf import PyPDFDirectoryLoader
|
14 |
-
from
|
15 |
from langchain.schema.document import Document
|
16 |
|
17 |
app = Flask(__name__)
|
|
|
11 |
from langchain_community.llms.ollama import Ollama
|
12 |
from get_embedding_function import get_embedding_function
|
13 |
from langchain.document_loaders.pdf import PyPDFDirectoryLoader
|
14 |
+
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
15 |
from langchain.schema.document import Document
|
16 |
|
17 |
app = Flask(__name__)
|