Spaces:
Sleeping
Sleeping
yanyoyo
commited on
Commit
·
3304317
1
Parent(s):
61a1ce6
fix
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("Streamlit-LlamaIndex-API/data/README_zh-CN.md").load_data()
|
26 |
index = VectorStoreIndex.from_documents(documents)
|
27 |
query_engine = index.as_query_engine()
|
28 |
|