Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def init_models():
|
|
34 |
#用初始化llm
|
35 |
Settings.llm = llm
|
36 |
|
37 |
-
documents = SimpleDirectoryReader("
|
38 |
index = VectorStoreIndex.from_documents(documents)
|
39 |
query_engine = index.as_query_engine()
|
40 |
|
|
|
34 |
#用初始化llm
|
35 |
Settings.llm = llm
|
36 |
|
37 |
+
documents = SimpleDirectoryReader("README_zh-CN.md").load_data()
|
38 |
index = VectorStoreIndex.from_documents(documents)
|
39 |
query_engine = index.as_query_engine()
|
40 |
|