mojuss commited on
Commit
678845f
·
verified ·
1 Parent(s): e8bde3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from llama_index.core import SimpleDirectoryReader, GPTListIndex, GPTVectorStore
2
  from llama_index.core import StorageContext, load_index_from_storage
3
  #from llama_index import LLMPredictor, PromptHelper
4
  #from langchain.chat_models import ChatOpenAI
5
- from langchain-community.chat_models import ChatOpenAI
6
  import gradio as gr
7
  import os
8
  import openai
 
2
  from llama_index.core import StorageContext, load_index_from_storage
3
  #from llama_index import LLMPredictor, PromptHelper
4
  #from langchain.chat_models import ChatOpenAI
5
+ from langchain_community.embeddings import OpenAIEmbeddings
6
  import gradio as gr
7
  import os
8
  import openai