yanyoyo commited on
Commit
3304317
·
1 Parent(s): 61a1ce6
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def init_models():
22
  )
23
  Settings.llm = llm
24
 
25
- documents = SimpleDirectoryReader("./data").load_data()
26
  index = VectorStoreIndex.from_documents(documents)
27
  query_engine = index.as_query_engine()
28
 
 
22
  )
23
  Settings.llm = llm
24
 
25
+ documents = SimpleDirectoryReader("Streamlit-LlamaIndex-API/data/README_zh-CN.md").load_data()
26
  index = VectorStoreIndex.from_documents(documents)
27
  query_engine = index.as_query_engine()
28