gonghaibogc commited on
Commit
eb29ee1
·
verified ·
1 Parent(s): e4796ac

Update app.py

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