Update app.py
Browse files
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
|
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
|