rbughao commited on
Commit
66a916f
·
verified ·
1 Parent(s): 1bcb70d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -20,7 +20,14 @@ loader = DataReader()
20
  # or
21
  # documents = loader.load_data(file=['toolkit.pdf','pdf2','pdf3'])
22
 
23
- documents = loader.load_data(file=[ChurnData,ChurnData2])
 
 
 
 
 
 
 
24
  index = VectorStoreIndex.from_documents(documents)
25
  query_engine = index.as_query_engine()
26
 
 
20
  # or
21
  # documents = loader.load_data(file=['toolkit.pdf','pdf2','pdf3'])
22
 
23
+ ### 1st file
24
+ documents = loader.load_data(file=ChurnData)
25
+ ### 1st file
26
+
27
+ ### 2nd file
28
+ documents2 = loader.load_data(file=ChurnData2)
29
+ documents = documents + documents2
30
+ ### 2nd file
31
  index = VectorStoreIndex.from_documents(documents)
32
  query_engine = index.as_query_engine()
33