Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -435,7 +435,7 @@ class TableExtractionPipeline():
|
|
435 |
model, probas, bboxes_scaled = table_detector(image, THRESHOLD_PROBA=TD_THRESHOLD)
|
436 |
|
437 |
if bboxes_scaled.nelement() == 0:
|
438 |
-
|
439 |
return ''
|
440 |
|
441 |
# try:
|
|
|
435 |
model, probas, bboxes_scaled = table_detector(image, THRESHOLD_PROBA=TD_THRESHOLD)
|
436 |
|
437 |
if bboxes_scaled.nelement() == 0:
|
438 |
+
st.write('No table found in the pdf-page image')
|
439 |
return ''
|
440 |
|
441 |
# try:
|