LeimingXu commited on
Commit
b0c8c1b
·
1 Parent(s): a298f69

uncomment load_index_from_storage

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -102,9 +102,10 @@ print("[do_end][indexing] index is " + index.index_id)
102
  print("[do_end][indexing] index is " + str(index.ref_doc_info))
103
 
104
  # Load the index from the storage context
105
- # index = load_index_from_storage(storage_context, service_context=service_context)
106
- # print("[load_index_from_storage][indexing] index is " + index.index_id)
107
- # print("[load_index_from_storage][indexing] index is " + str(index.ref_doc_info))
 
108
  '''
109
  UnstructuredReader = download_loader("UnstructuredReader", refresh_cache=True)
110
  loader = UnstructuredReader()
 
102
  print("[do_end][indexing] index is " + str(index.ref_doc_info))
103
 
104
  # Load the index from the storage context
105
+ index = load_index_from_storage(storage_context, service_context=service_context)
106
+ print("[load_index_from_storage][indexing] index is " + index.index_id)
107
+ print("[load_index_from_storage][indexing] index is " + str(index.ref_doc_info))
108
+
109
  '''
110
  UnstructuredReader = download_loader("UnstructuredReader", refresh_cache=True)
111
  loader = UnstructuredReader()