Update app.py
Browse files
app.py
CHANGED
|
@@ -25,8 +25,8 @@ def main():
|
|
| 25 |
uploaded_file = st.file_uploader("Choose a PDF file", type=["pdf"])
|
| 26 |
|
| 27 |
# Sidebar for threshold and line diff value
|
| 28 |
-
threshold = st.sidebar.slider("Threshold", min_value=
|
| 29 |
-
line_diff = st.sidebar.slider("Line Diff Value", min_value=
|
| 30 |
|
| 31 |
if uploaded_file is not None:
|
| 32 |
st.subheader("Uploaded PDF Preview")
|
|
|
|
| 25 |
uploaded_file = st.file_uploader("Choose a PDF file", type=["pdf"])
|
| 26 |
|
| 27 |
# Sidebar for threshold and line diff value
|
| 28 |
+
threshold = st.sidebar.slider("Threshold", min_value=0, max_value=1, value=0.4)
|
| 29 |
+
line_diff = st.sidebar.slider("Line Diff Value", min_value=0.001, max_value=0.01, value=0.005)
|
| 30 |
|
| 31 |
if uploaded_file is not None:
|
| 32 |
st.subheader("Uploaded PDF Preview")
|