João Pedro commited on
Commit
392dd2d
·
1 Parent(s): 373fa9f

provide fixed list of possible correct labels

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,7 +65,7 @@ if uploaded_file:
65
  key=f'prediction-{i}'
66
  )
67
  if feedback == "No":
68
- correct_label = st.text_input(
69
- "Please provide the correct label:"
70
  )
71
  # Here you can implement logic to store or process feedback
 
65
  key=f'prediction-{i}'
66
  )
67
  if feedback == "No":
68
+ correct_label = st.selectbox(
69
+ "Please select the correct label:", labels
70
  )
71
  # Here you can implement logic to store or process feedback