Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,7 @@ import asyncio
|
|
25 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
26 |
st.set_page_config(layout='wide')
|
27 |
st.title("Table Detection and Table Structure Recognition")
|
|
|
28 |
|
29 |
|
30 |
def PIL_to_cv(pil_img):
|
@@ -500,4 +501,3 @@ if __name__ == "__main__":
|
|
500 |
asyncio.run(te.start_process(img_name, TD_THRESHOLD=0.6, TSR_THRESHOLD=0.8, padd_top=padd_top, padd_left=padd_left, padd_bottom=padd_bottom, padd_right=padd_right, delta_xmin=0, delta_ymin=0, delta_xmax=0, delta_ymax=0, expand_rowcol_bbox_top=0, expand_rowcol_bbox_bottom=0))
|
501 |
|
502 |
|
503 |
-
|
|
|
25 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
26 |
st.set_page_config(layout='wide')
|
27 |
st.title("Table Detection and Table Structure Recognition")
|
28 |
+
st.write("Implemented by MSFT team: https://github.com/microsoft/table-transformer")
|
29 |
|
30 |
|
31 |
def PIL_to_cv(pil_img):
|
|
|
501 |
asyncio.run(te.start_process(img_name, TD_THRESHOLD=0.6, TSR_THRESHOLD=0.8, padd_top=padd_top, padd_left=padd_left, padd_bottom=padd_bottom, padd_right=padd_right, delta_xmin=0, delta_ymin=0, delta_xmax=0, delta_ymax=0, expand_rowcol_bbox_top=0, expand_rowcol_bbox_bottom=0))
|
502 |
|
503 |
|
|