angelesteban00 commited on
Commit
ea89a3e
1 Parent(s): a59ef83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ from langchain.embeddings.openai import OpenAIEmbeddings
4
  from langchain_community.vectorstores import MongoDBAtlasVectorSearch
5
  # error since Jan 2024, from langchain.document_loaders import DirectoryLoader
6
  from langchain_community.document_loaders import DirectoryLoader
7
- from langchain.llms import OpenAI
 
8
  from langchain.chains import RetrievalQA
9
  import gradio as gr
10
  from gradio.themes.base import Base
 
4
  from langchain_community.vectorstores import MongoDBAtlasVectorSearch
5
  # error since Jan 2024, from langchain.document_loaders import DirectoryLoader
6
  from langchain_community.document_loaders import DirectoryLoader
7
+ # error since Jan 2024, from langchain.llms import OpenAI
8
+ from langchain_community.llms import OpenAI
9
  from langchain.chains import RetrievalQA
10
  import gradio as gr
11
  from gradio.themes.base import Base