kai119 commited on
Commit
b545a25
·
verified ·
1 Parent(s): 47aabc2

Update app.py

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