John Graham Reynolds commited on
Commit
19e8084
·
1 Parent(s): 14adbf0

chaneg logic again

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -216,10 +216,11 @@ def feedback():
216
  with st.container():
217
  st.title("Feedback Interface")
218
  sentiment_mapping = [":material/thumb_down:", ":material/thumb_up:"]
219
- rating = None
220
- while not rating:
221
- rating = st.feedback(key="missing_rating")
222
- feedback = st.text_input(f"Please detail your rationale for choosing {sentiment_mapping[rating]}: ", "")
 
223
  # feedback = ""
224
  # review = {}
225
  # if rating is not None:
 
216
  with st.container():
217
  st.title("Feedback Interface")
218
  sentiment_mapping = [":material/thumb_down:", ":material/thumb_up:"]
219
+ # rating = None
220
+ # while not rating:
221
+ rating = st.feedback(key="missing_rating")
222
+ # feedback = st.text_input(f"Please detail your rationale for choosing {sentiment_mapping[rating]}: ", "")
223
+ feedback = st.text_input(f"Please detail your feedback: ", "")
224
  # feedback = ""
225
  # review = {}
226
  # if rating is not None: