John Graham Reynolds commited on
Commit
64c7a70
·
1 Parent(s): 154dfaa

give a key to the internal button

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -235,7 +235,7 @@ with main:
235
  # receive feedback on AI outputs if the user feels inclined to give it
236
  # rating = st.radio("Rate your experience:", ["Very satisfied", "Somewhat satisfied", "Neutral", "Somewhat dissatisfied", "Very dissatisfied"])
237
  # st.button("Provide Feedback", on_click=feedback)
238
- st.button("Provide Feedback")
239
  if message["error"] is not None:
240
  st.error(message["error"],icon="🚨")
241
  if message["warning"] is not None:
 
235
  # receive feedback on AI outputs if the user feels inclined to give it
236
  # rating = st.radio("Rate your experience:", ["Very satisfied", "Somewhat satisfied", "Neutral", "Somewhat dissatisfied", "Very dissatisfied"])
237
  # st.button("Provide Feedback", on_click=feedback)
238
+ st.button("Provide Feedback", key="feedback")
239
  if message["error"] is not None:
240
  st.error(message["error"],icon="🚨")
241
  if message["warning"] is not None: