mery22 commited on
Commit
0e4838c
·
verified ·
1 Parent(s): fc390a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -125,9 +125,12 @@ with st.form(key='interaction_form'):
125
  # Feedback submission
126
  feedback_submit_button = st.form_submit_button("Submit Feedback")
127
 
128
- if feedback_submit_button:
129
- if comment.strip():
130
  save_feedback(user_input, bot_response, rating, comment)
131
  st.success("Thank you for your feedback!")
132
  else:
133
- st.warning("⚠️ Please provide a comment.")
 
 
 
 
125
  # Feedback submission
126
  feedback_submit_button = st.form_submit_button("Submit Feedback")
127
 
128
+ if st.button("Submit"):
129
+ if user_input.strip() and comment.strip():
130
  save_feedback(user_input, bot_response, rating, comment)
131
  st.success("Thank you for your feedback!")
132
  else:
133
+ st.warning("Please provide both input and comment.")
134
+
135
+ st.markdown("---")
136
+ st.markdown("Collaboration is the key to success. Each question finds its answer, each challenge becomes an opportunity.")