alitavanaali commited on
Commit
b0f508b
1 Parent(s): 55f2906

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -369,8 +369,8 @@ def completepreprocess(pdffile):
369
  _bbox, _preds, _words = process_form(pred_list, words, bbox)
370
  print('page: ' + str(i) + ' ' + str(len(_preds))+ ' ' + str(len(_words)))
371
  df1, df2 = createDataframe(_preds, _words)
372
- dfOne=dfOne.append(df1)
373
- dfTwo=dfTwo.append(df2)
374
 
375
  im2=mergeImageVertical(a)
376
  return im2,dfOne,dfTwo
 
369
  _bbox, _preds, _words = process_form(pred_list, words, bbox)
370
  print('page: ' + str(i) + ' ' + str(len(_preds))+ ' ' + str(len(_words)))
371
  df1, df2 = createDataframe(_preds, _words)
372
+ dfOne=dfOne._append(df1)
373
+ dfTwo=dfTwo._append(df2)
374
 
375
  im2=mergeImageVertical(a)
376
  return im2,dfOne,dfTwo