debu das commited on
Commit
62214c3
1 Parent(s): 72bce56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -429,7 +429,7 @@ class TableExtractionPipeline():
429
  '''
430
  image = Image.open(image_path).convert("RGB")
431
  model, probas, bboxes_scaled = table_detector(image, THRESHOLD_PROBA=TD_THRESHOLD)
432
-
433
  if bboxes_scaled.nelement() == 0:
434
  print('No table found in the pdf-page image'+image_path.split('/')[-1])
435
  return ''
 
429
  '''
430
  image = Image.open(image_path).convert("RGB")
431
  model, probas, bboxes_scaled = table_detector(image, THRESHOLD_PROBA=TD_THRESHOLD)
432
+ st.image(image, caption='input')
433
  if bboxes_scaled.nelement() == 0:
434
  print('No table found in the pdf-page image'+image_path.split('/')[-1])
435
  return ''