Spaces:
Runtime error
Runtime error
Update app.py
Browse files432 unmodified lines433434435436437438439440441442432 unmodified lines'''image = Image.open(image_path).convert("RGB")model, probas, bboxes_scaled = table_detector(image, THRESHOLD_PROBA=TD_THRESHOLD)if bboxes_scaled.nelement() == 0:st.write('No table found in the pdf-page image')return ''# try:# st.write('Document: '+image_path.split('/')[-1])432 unmodified lines433434435436437438439440441442432 unmodified lines'''image = Image.open(image_path).convert("RGB")model, probas, bboxes_scaled = table_detector(image, THRESHOLD_PROBA=TD_THRESHOLD)st.write(bboxes_scaled)#if bboxes_scaled.nelement() == 0:#st.write('No table found in the pdf-page image')#return ''# try:# st.write('Document: '+image_path.split('/')[-1])
app.py+4-4