Spaces:
Sleeping
Sleeping
João Pedro
commited on
Commit
·
d280e22
1
Parent(s):
63eb0c6
add key to selectbox to avoid duplicate error
Browse files
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 |
)
|