cloneQ commited on
Commit
daa1e66
1 Parent(s): 8f8a944

Update app.py

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