Spaces:
Sleeping
Sleeping
yanyoyo
commited on
Commit
·
61a1ce6
1
Parent(s):
f137b3c
Update app.py with correct data path
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def init_models():
|
|
22 |
)
|
23 |
Settings.llm = llm
|
24 |
|
25 |
-
documents = SimpleDirectoryReader("
|
26 |
index = VectorStoreIndex.from_documents(documents)
|
27 |
query_engine = index.as_query_engine()
|
28 |
|
|
|
22 |
)
|
23 |
Settings.llm = llm
|
24 |
|
25 |
+
documents = SimpleDirectoryReader("./data").load_data()
|
26 |
index = VectorStoreIndex.from_documents(documents)
|
27 |
query_engine = index.as_query_engine()
|
28 |
|