surinala commited on
Commit
cf53f48
·
1 Parent(s): bf80b27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=1, max_value=10, value=5)
29
- line_diff = st.sidebar.slider("Line Diff Value", min_value=1, max_value=10, value=5)
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")