Update app.py
Browse files
app.py
CHANGED
|
@@ -94,8 +94,8 @@ service_context = ServiceContext.from_defaults(
|
|
| 94 |
from llama_index import set_global_service_context
|
| 95 |
|
| 96 |
|
|
|
|
| 97 |
|
| 98 |
-
index = VectorStoreIndex.from_documents([], vectorstore=vector_store, storage_context=storage_context)
|
| 99 |
|
| 100 |
|
| 101 |
|
|
|
|
| 94 |
from llama_index import set_global_service_context
|
| 95 |
|
| 96 |
|
| 97 |
+
index = VectorStoreIndex.from_documents([], vectorstore=vector_store, storage_context=storage_context, service_context=service_context)
|
| 98 |
|
|
|
|
| 99 |
|
| 100 |
|
| 101 |
|