suriya7 commited on
Commit
9835b5a
1 Parent(s): c6a3a63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -42,6 +42,7 @@ def displayPDF(file):
42
 
43
  def data_ingestion():
44
  documents = SimpleDirectoryReader(DATA_DIR).load_data()
 
45
  storage_context = StorageContext.from_defaults()
46
  index = VectorStoreIndex.from_documents(documents)
47
  index.storage_context.persist(persist_dir=PERSIST_DIR)
 
42
 
43
  def data_ingestion():
44
  documents = SimpleDirectoryReader(DATA_DIR).load_data()
45
+ print(documents)
46
  storage_context = StorageContext.from_defaults()
47
  index = VectorStoreIndex.from_documents(documents)
48
  index.storage_context.persist(persist_dir=PERSIST_DIR)