Spaces:
Sleeping
Sleeping
Raphaël Bournhonesque
commited on
Commit
·
4ebffee
1
Parent(s):
062bda3
improve app
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ default_barcode = query_params["barcode"][0] if "barcode" in query_params else "
|
|
68 |
barcode = st.sidebar.text_input(
|
69 |
"Product barcode", default_barcode
|
70 |
)
|
71 |
-
threshold = st.sidebar.number_input("Threshold", format="%f") or None
|
72 |
model_names = st.multiselect(
|
73 |
"Name of the model",
|
74 |
[x.name for x in NeuralCategoryClassifierModel],
|
|
|
68 |
barcode = st.sidebar.text_input(
|
69 |
"Product barcode", default_barcode
|
70 |
)
|
71 |
+
threshold = st.sidebar.number_input("Threshold", format="%f", value=0.5) or None
|
72 |
model_names = st.multiselect(
|
73 |
"Name of the model",
|
74 |
[x.name for x in NeuralCategoryClassifierModel],
|