yyyycc commited on
Commit
84fbbf4
·
verified ·
1 Parent(s): 949cfbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ import os
3
  from llama_index.core import VectorStoreIndex, Settings
4
  from llama_index.embeddings.huggingface import HuggingFaceEmbedding
5
  from llama_index.llms.huggingface import HuggingFaceLLM
6
- from llama_index import SimpleDirectoryReader # Corrected import
 
7
 
8
  st.set_page_config(page_title="llama_index_demo", page_icon="🦜🔗")
9
  st.title("llama_index_demo")
 
3
  from llama_index.core import VectorStoreIndex, Settings
4
  from llama_index.embeddings.huggingface import HuggingFaceEmbedding
5
  from llama_index.llms.huggingface import HuggingFaceLLM
6
+ from llama_index.legacy.callbacks import CallbackManager
7
+ from llama_index.llms.openai_like import OpenAILike
8
 
9
  st.set_page_config(page_title="llama_index_demo", page_icon="🦜🔗")
10
  st.title("llama_index_demo")