yyyycc commited on
Commit
3375964
·
verified ·
1 Parent(s): b723e8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def init_models():
25
  Settings.llm = llm
26
 
27
  # Load documents
28
- documents = SimpleDirectoryReader("./data.md").load_data() # Assuming data is in a "data" folder in your app directory
29
  index = VectorStoreIndex.from_documents(documents)
30
  query_engine = index.as_query_engine()
31
 
 
25
  Settings.llm = llm
26
 
27
  # Load documents
28
+ documents = SimpleDirectoryReader("data.md").load_data() # Assuming data is in a "data" folder in your app directory
29
  index = VectorStoreIndex.from_documents(documents)
30
  query_engine = index.as_query_engine()
31