Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def load_data():
|
|
18 |
|
19 |
Settings.embed_model = HuggingFaceBgeEmbeddings(model_name="BAAI/bge-base-en")
|
20 |
|
21 |
-
documents = SimpleDirectoryReader("
|
22 |
|
23 |
index = VectorStoreIndex.from_documents(documents,)
|
24 |
|
|
|
18 |
|
19 |
Settings.embed_model = HuggingFaceBgeEmbeddings(model_name="BAAI/bge-base-en")
|
20 |
|
21 |
+
documents = SimpleDirectoryReader("book_chapter/").load_data()
|
22 |
|
23 |
index = VectorStoreIndex.from_documents(documents,)
|
24 |
|