diazcalvi commited on
Commit
cf4b8d0
·
1 Parent(s): c905140

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -43,6 +43,7 @@ def initialize_index(index_name, documents_folder):
43
  documents = SimpleDirectoryReader(documents_folder).load_data()
44
  index = GPTSimpleVectorIndex.from_documents(documents, service_context=service_context)
45
  index.save_to_disk(index_name)
 
46
  index.save_to_disk(DATA_FILE)
47
 
48
  return index
 
43
  documents = SimpleDirectoryReader(documents_folder).load_data()
44
  index = GPTSimpleVectorIndex.from_documents(documents, service_context=service_context)
45
  index.save_to_disk(index_name)
46
+ print(DATA_FILE)
47
  index.save_to_disk(DATA_FILE)
48
 
49
  return index