Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -488,11 +488,12 @@ class TableExtractionPipeline():
|
|
488 |
if __name__ == "__main__":
|
489 |
|
490 |
img_name = st.file_uploader("Upload an image with table(s)")
|
491 |
-
st1, st2
|
492 |
TD_th = st1.slider('Table detection threshold', 0.0, 1.0, 0.6)
|
493 |
TSR_th = st2.slider('Table structure recognition threshold', 0.0, 1.0, 0.8)
|
494 |
|
495 |
-
|
|
|
496 |
padd_top = st1.slider('Padding top', 0, 200, 20)
|
497 |
padd_left = st2.slider('Padding left', 0, 200, 20)
|
498 |
padd_right = st3.slider('Padding right', 0, 200, 20)
|
|
|
488 |
if __name__ == "__main__":
|
489 |
|
490 |
img_name = st.file_uploader("Upload an image with table(s)")
|
491 |
+
st1, st2 = st.columns((1,1))
|
492 |
TD_th = st1.slider('Table detection threshold', 0.0, 1.0, 0.6)
|
493 |
TSR_th = st2.slider('Table structure recognition threshold', 0.0, 1.0, 0.8)
|
494 |
|
495 |
+
st1, st2, st3, st4 = st.columns((1,1,1,1))
|
496 |
+
|
497 |
padd_top = st1.slider('Padding top', 0, 200, 20)
|
498 |
padd_left = st2.slider('Padding left', 0, 200, 20)
|
499 |
padd_right = st3.slider('Padding right', 0, 200, 20)
|