João Pedro commited on
Commit
d280e22
·
1 Parent(s): 63eb0c6

add key to selectbox to avoid duplicate error

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -61,5 +61,6 @@ if uploaded_file:
61
  )
62
  if feedback == "No":
63
  correct_label = st.selectbox(
64
- "Please select the correct label:", labels
 
65
  )
 
61
  )
62
  if feedback == "No":
63
  correct_label = st.selectbox(
64
+ "Please select the correct label:", labels,
65
+ key=f'selectbox-{i}'
66
  )