Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ from llama_index import VectorStoreIndex, SimpleDirectoryReader, Document
|
|
| 37 |
from llama_index.vector_stores import DeepLakeVectorStore
|
| 38 |
|
| 39 |
# Create an index over the documnts
|
| 40 |
-
vector_store =
|
| 41 |
)
|
| 42 |
|
| 43 |
storage_context = StorageContext.from_defaults(vector_store=vector_store)
|
|
|
|
| 37 |
from llama_index.vector_stores import DeepLakeVectorStore
|
| 38 |
|
| 39 |
# Create an index over the documnts
|
| 40 |
+
vector_store = DeepLakeVectorStore(dataset_path=dataset_path,reset=True
|
| 41 |
)
|
| 42 |
|
| 43 |
storage_context = StorageContext.from_defaults(vector_store=vector_store)
|