Raphaël Bournhonesque commited on
Commit
ae6ec77
1 Parent(s): bc1314f

update after API changes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ st.markdown(
127
  "that takes the OCR text as input and predict ingredient lists."
128
  )
129
  barcode = st.text_input("barcode", help="Barcode of the product", value=default_barcode).strip()
130
- model_version = st.text_input("model version", help="Version of the model to use (1 or 2)", value="2").strip()
131
  st.experimental_set_query_params(barcode=barcode)
132
 
133
  threshold = st.number_input(
 
127
  "that takes the OCR text as input and predict ingredient lists."
128
  )
129
  barcode = st.text_input("barcode", help="Barcode of the product", value=default_barcode).strip()
130
+ model_version = "1"
131
  st.experimental_set_query_params(barcode=barcode)
132
 
133
  threshold = st.number_input(