Arafath10 commited on
Commit
35c49e8
·
verified ·
1 Parent(s): 4bb67f4

Update user_guide_sync.py

Browse files
Files changed (1) hide show
  1. user_guide_sync.py +1 -1
user_guide_sync.py CHANGED
@@ -77,7 +77,7 @@ def update_user_guide():
77
  # index = load_index_from_storage(storage_context=storage_context)
78
  # print("loaded")
79
  # except:
80
- documents = SimpleDirectoryReader("data/user_guid").load_data()
81
  index = VectorStoreIndex.from_documents(documents)
82
  index.storage_context.persist("llama_index")
83
  print("index created")
 
77
  # index = load_index_from_storage(storage_context=storage_context)
78
  # print("loaded")
79
  # except:
80
+ documents = SimpleDirectoryReader("user_guide").load_data()
81
  index = VectorStoreIndex.from_documents(documents)
82
  index.storage_context.persist("llama_index")
83
  print("index created")