Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def init_models():
|
|
| 24 |
|
| 25 |
Settings.llm = llm
|
| 26 |
|
| 27 |
-
documents = SimpleDirectoryReader("
|
| 28 |
index = VectorStoreIndex.from_documents(documents)
|
| 29 |
query_engine = index.as_query_engine()
|
| 30 |
|
|
|
|
| 24 |
|
| 25 |
Settings.llm = llm
|
| 26 |
|
| 27 |
+
documents = SimpleDirectoryReader("data").load_data()
|
| 28 |
index = VectorStoreIndex.from_documents(documents)
|
| 29 |
query_engine = index.as_query_engine()
|
| 30 |
|