gonghaibogc commited on
Commit
0ced5c0
·
verified ·
1 Parent(s): ae3d5c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def init_models():
34
  #用初始化llm
35
  Settings.llm = llm
36
 
37
- documents = SimpleDirectoryReader("/root/llamaindex_demo/data").load_data()
38
  index = VectorStoreIndex.from_documents(documents)
39
  query_engine = index.as_query_engine()
40
 
 
34
  #用初始化llm
35
  Settings.llm = llm
36
 
37
+ documents = SimpleDirectoryReader("README_zh-CN.md").load_data()
38
  index = VectorStoreIndex.from_documents(documents)
39
  query_engine = index.as_query_engine()
40