use min confidence as default

pull/36/head
Robin Cole 2020-12-18 15:22:58 +00:00
parent fb4c820c06
commit b8f300d4ec
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ img_file_buffer = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"
st.sidebar.title("Parameters")
st.text("Adjust parameters to select what is displayed")
CONFIDENCE_THRESHOLD = st.sidebar.slider(
"Confidence threshold", DEFAULT_CONFIDENCE_THRESHOLD, 1.0, 0.45
"Confidence threshold", DEFAULT_CONFIDENCE_THRESHOLD, 1.0
)
if not DEEPSTACK_CUSTOM_MODEL: