AXZ91 commited on
Commit
e75bd29
·
1 Parent(s): 98057e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ from llama_index.vector_stores import DeepLakeVectorStore
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)
44
 
45
  index = VectorStoreIndex.from_documents([], storage_context=storage_context)
 
39
  # Create an index over the documnts
40
  vector_store = DeepLakeVectorStore(dataset_path=dataset_path,reset=True
41
  )
42
+ service_context = ServiceContext.from_defaults()
43
  storage_context = StorageContext.from_defaults(vector_store=vector_store)
44
 
45
  index = VectorStoreIndex.from_documents([], storage_context=storage_context)