Spaces:
Runtime error
Runtime error
now uses langchain again
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import chainlit as cl
|
2 |
from chainlit.playground.providers import ChatOpenAI
|
3 |
from dotenv import load_dotenv
|
4 |
-
from
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
6 |
import tiktoken
|
7 |
from langchain.prompts import ChatPromptTemplate
|
|
|
1 |
import chainlit as cl
|
2 |
from chainlit.playground.providers import ChatOpenAI
|
3 |
from dotenv import load_dotenv
|
4 |
+
from langchain.document_loaders import PyMuPDFLoader
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
6 |
import tiktoken
|
7 |
from langchain.prompts import ChatPromptTemplate
|