Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,10 @@ from langchain.text_splitter import CharacterTextSplitter
|
|
8 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
9 |
from langchain.vectorstores import Chroma
|
10 |
from langchain_community.document_loaders import TextLoader
|
11 |
-
from
|
12 |
from langchain import PromptTemplate
|
13 |
from langchain.chains import LLMChain
|
14 |
-
from
|
15 |
from langchain_community.vectorstores.faiss import FAISS
|
16 |
#from langchain.vectorstores import FAISS
|
17 |
|
|
|
8 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
9 |
from langchain.vectorstores import Chroma
|
10 |
from langchain_community.document_loaders import TextLoader
|
11 |
+
from langchain_community.chat_models import ChatOpenAI
|
12 |
from langchain import PromptTemplate
|
13 |
from langchain.chains import LLMChain
|
14 |
+
from langchain_community.llms import OpenAI
|
15 |
from langchain_community.vectorstores.faiss import FAISS
|
16 |
#from langchain.vectorstores import FAISS
|
17 |
|